Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 104.5 kB / 16.4 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.475/2.475, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 59.91 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7693/0.7707, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007137/0.7778, allocations: 4.949 MB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1592/0.937, allocations: 150.6 MB / 1.36 GB, free: 1.438 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000867/0.938, allocations: 19.88 kB / 1.36 GB, free: 1.418 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007952/0.9388, allocations: 190.2 kB / 1.361 GB, free: 1.23 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002601/0.9414, allocations: 0.5704 MB / 1.361 GB, free: 0.6641 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00269/0.9441, allocations: 0.8557 MB / 1.362 GB, free: 15.81 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001993/0.9461, allocations: 1.429 MB / 1.363 GB, free: 14.38 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.9472, allocations: 0.6066 MB / 1.364 GB, free: 13.75 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008629/0.948, allocations: 0.4944 MB / 1.364 GB, free: 13.26 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008339/0.9489, allocations: 0.5212 MB / 1.365 GB, free: 12.73 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002837/0.9492, allocations: 119.9 kB / 1.365 GB, free: 12.62 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.9503, allocations: 487.6 kB / 1.365 GB, free: 12.14 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003414/0.9506, allocations: 307 kB / 1.366 GB, free: 11.84 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007335/0.9514, allocations: 0.5752 MB / 1.366 GB, free: 11.26 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.9536, allocations: 1.665 MB / 1.368 GB, free: 9.594 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.9536, allocations: 3.938 kB / 1.368 GB, free: 9.59 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9537, allocations: 0 / 1.368 GB, free: 9.59 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.219e-05/0.9537, allocations: 0 / 1.368 GB, free: 9.59 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003147/0.9569, allocations: 1.46 MB / 1.369 GB, free: 8.07 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.9569, allocations: 8.031 kB / 1.369 GB, free: 8.062 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.9579, allocations: 191.4 kB / 1.37 GB, free: 7.875 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.9592, allocations: 0.778 MB / 1.37 GB, free: 7.055 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.261e-05/0.9592, allocations: 62 kB / 1.37 GB, free: 6.996 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.9594, allocations: 84 kB / 1.37 GB, free: 6.914 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.9611, allocations: 0.9534 MB / 1.371 GB, free: 5.918 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.9611, allocations: 3.984 kB / 1.371 GB, free: 5.914 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-05/0.9612, allocations: 36 kB / 1.371 GB, free: 5.879 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.9612, allocations: 20 kB / 1.371 GB, free: 5.859 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.963, allocations: 1.139 MB / 1.373 GB, free: 4.723 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004171/0.9672, allocations: 2.728 MB / 1.375 GB, free: 1.875 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.9689, allocations: 0.9033 MB / 1.376 GB, free: 0.9492 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005861/0.9695, allocations: 314.7 kB / 1.376 GB, free: 0.6367 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.58e-05/0.9695, allocations: 36.67 kB / 1.376 GB, free: 0.6016 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009044/0.9705, allocations: 0.5236 MB / 1.377 GB, free: 64 kB / 1.092 GB Notification: Performance of pre-optimization done (n=85): time 2.936e-06/0.9705, allocations: 0 / 1.377 GB, free: 64 kB / 1.092 GB Notification: Performance of matching and sorting (n=85): time 0.003321/0.9738, allocations: 1.259 MB / 1.378 GB, free: 14.77 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.9739, allocations: 192.9 kB / 1.378 GB, free: 14.54 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007902/0.9747, allocations: 0.641 MB / 1.379 GB, free: 13.89 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.318e-05/0.9748, allocations: 41.7 kB / 1.379 GB, free: 13.84 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.9751, allocations: 408.3 kB / 1.379 GB, free: 13.44 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.9753, allocations: 276.1 kB / 1.38 GB, free: 13.17 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.9756, allocations: 174.5 kB / 1.38 GB, free: 12.99 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.9757, allocations: 386.8 kB / 1.38 GB, free: 12.61 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005579/0.9763, allocations: 277.8 kB / 1.38 GB, free: 12.33 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/0.9769, allocations: 388 kB / 1.381 GB, free: 11.94 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.9781, allocations: 0.6406 MB / 1.381 GB, free: 11.28 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.9781, allocations: 0 / 1.381 GB, free: 11.28 MB / 1.107 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001977/0.9801, allocations: 0.88 MB / 1.382 GB, free: 10.39 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.9801, allocations: 7.938 kB / 1.382 GB, free: 10.38 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.9801, allocations: 4 kB / 1.382 GB, free: 10.38 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006017/0.9808, allocations: 88.83 kB / 1.382 GB, free: 10.29 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/0.9815, allocations: 175.7 kB / 1.383 GB, free: 10.12 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.9835, allocations: 1.622 MB / 1.384 GB, free: 8.348 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007812/0.9843, allocations: 103.6 kB / 1.384 GB, free: 8.25 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.079e-05/0.9844, allocations: 43.91 kB / 1.384 GB, free: 8.207 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004578/0.9849, allocations: 280 kB / 1.385 GB, free: 7.926 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.9851, allocations: 82.97 kB / 1.385 GB, free: 7.844 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.9876, allocations: 1.132 MB / 1.386 GB, free: 6.695 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.9876, allocations: 8 kB / 1.386 GB, free: 6.688 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.9876, allocations: 8 kB / 1.386 GB, free: 6.68 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.9876, allocations: 7.969 kB / 1.386 GB, free: 6.672 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003321/0.9909, allocations: 2.025 MB / 1.388 GB, free: 4.59 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.991, allocations: 4 kB / 1.388 GB, free: 4.586 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006322/0.9916, allocations: 155.8 kB / 1.388 GB, free: 4.434 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000439/0.9921, allocations: 64.8 kB / 1.388 GB, free: 4.367 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-05/0.9921, allocations: 31.97 kB / 1.388 GB, free: 4.336 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/0.994, allocations: 1.654 MB / 1.39 GB, free: 2.539 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.994, allocations: 0 / 1.39 GB, free: 2.539 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.9961, allocations: 1.049 MB / 1.391 GB, free: 1.469 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/0.9965, allocations: 287.7 kB / 1.391 GB, free: 1.168 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.9967, allocations: 23.98 kB / 1.391 GB, free: 1.145 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007315/0.9975, allocations: 63.92 kB / 1.391 GB, free: 1.082 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.9976, allocations: 76.89 kB / 1.391 GB, free: 1.008 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.52e-05/0.9977, allocations: 35.98 kB / 1.391 GB, free: 0.9727 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005817/0.9983, allocations: 467 kB / 1.392 GB, free: 0.5195 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9983, allocations: 0 / 1.392 GB, free: 0.5195 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008998/0.9992, allocations: 339.2 kB / 1.392 GB, free: 192 kB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00144/1.001, allocations: 0.6129 MB / 1.393 GB, free: 15.75 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001783/1.002, allocations: 0.8704 MB / 1.393 GB, free: 14.86 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.002, allocations: 0 / 1.393 GB, free: 14.86 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009858/1.003, allocations: 0.5471 MB / 1.394 GB, free: 14.3 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/1.005, allocations: 296.3 kB / 1.394 GB, free: 14.04 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/1.008, allocations: 1.736 MB / 1.396 GB, free: 12.26 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/1.008, allocations: 1.032 MB / 1.397 GB, free: 11.2 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/1.009, allocations: 123.4 kB / 1.397 GB, free: 11.08 MB / 1.123 GB Notification: Performance of SimCode: time 4.81e-07/1.009, allocations: 0 / 1.397 GB, free: 11.08 MB / 1.123 GB Notification: Performance of Templates: time 0.02597/1.035, allocations: 19.09 MB / 1.416 GB, free: 8.047 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches