Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008928/0.008928, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.356/1.356, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.66/2.66, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003473, allocations: 8 kB / 0.8728 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6745/0.6749, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005569/0.6805, allocations: 4.511 MB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1601/0.8407, allocations: 146.7 MB / 1.171 GB, free: 8.023 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008716/0.8416, allocations: 19.88 kB / 1.171 GB, free: 8.004 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005352/0.8421, allocations: 150.8 kB / 1.171 GB, free: 7.855 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.8438, allocations: 485.4 kB / 1.171 GB, free: 7.383 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.8457, allocations: 0.7411 MB / 1.172 GB, free: 6.648 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0014/0.8471, allocations: 1.331 MB / 1.173 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000837/0.8479, allocations: 0.5556 MB / 1.174 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005372/0.8485, allocations: 370.2 kB / 1.174 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005011/0.849, allocations: 401.9 kB / 1.175 GB, free: 3.98 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.456e-05/0.8491, allocations: 24 kB / 1.175 GB, free: 3.957 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007674/0.8498, allocations: 371.6 kB / 1.175 GB, free: 3.594 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.8501, allocations: 203 kB / 1.175 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004164/0.8505, allocations: 478.8 kB / 1.176 GB, free: 2.918 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.8519, allocations: 1.522 MB / 1.177 GB, free: 1.391 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8519, allocations: 0 / 1.177 GB, free: 1.391 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8519, allocations: 0 / 1.177 GB, free: 1.391 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.852, allocations: 0 / 1.177 GB, free: 1.391 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002321/0.8543, allocations: 1.249 MB / 1.178 GB, free: 84 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.8543, allocations: 12.03 kB / 1.178 GB, free: 72 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009555/0.8553, allocations: 199.4 kB / 1.179 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.8564, allocations: 0.7507 MB / 1.179 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.407e-05/0.8564, allocations: 62 kB / 1.179 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.8566, allocations: 87.98 kB / 1.179 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.8581, allocations: 0.9495 MB / 1.18 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.8582, allocations: 4 kB / 1.18 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-05/0.8583, allocations: 39.98 kB / 1.18 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.8583, allocations: 20 kB / 1.18 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.8601, allocations: 1.132 MB / 1.182 GB, free: 12.75 MB / 0.9356 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.004098/0.8642, allocations: 2.784 MB / 1.184 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.8657, allocations: 0.9085 MB / 1.185 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/0.8663, allocations: 323.9 kB / 1.185 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.645e-05/0.8664, allocations: 36.62 kB / 1.185 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009196/0.8673, allocations: 0.5236 MB / 1.186 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 2.254e-06/0.8674, allocations: 0 / 1.186 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.00325/0.8706, allocations: 1.267 MB / 1.187 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.695e-05/0.8707, allocations: 192.9 kB / 1.187 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000772/0.8715, allocations: 0.6448 MB / 1.188 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.12e-05/0.8716, allocations: 49.7 kB / 1.188 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.8719, allocations: 400.5 kB / 1.188 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.8721, allocations: 264.1 kB / 1.189 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.8722, allocations: 73.69 kB / 1.189 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.8724, allocations: 382.8 kB / 1.189 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/0.8729, allocations: 281.8 kB / 1.189 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006291/0.8736, allocations: 383.1 kB / 1.19 GB, free: 4 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.8747, allocations: 0.6281 MB / 1.19 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.8747, allocations: 4 kB / 1.19 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001952/0.8767, allocations: 0.8877 MB / 1.191 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.8767, allocations: 7.984 kB / 1.191 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.8767, allocations: 8.031 kB / 1.191 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/0.8774, allocations: 84.77 kB / 1.191 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006769/0.878, allocations: 171.8 kB / 1.192 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.88, allocations: 1.526 MB / 1.193 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008002/0.8808, allocations: 107.2 kB / 1.193 GB, free: 432 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.352e-05/0.8809, allocations: 39.97 kB / 1.193 GB, free: 392 kB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (99): * Single equations (assignments): 98 * 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.0004514/0.8814, allocations: 276.3 kB / 1.193 GB, free: 108 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.8815, allocations: 82.97 kB / 1.194 GB, free: 24 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/0.8841, allocations: 1.148 MB / 1.195 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.8841, allocations: 15.94 kB / 1.195 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.8841, allocations: 4 kB / 1.195 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.8841, allocations: 7.922 kB / 1.195 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/0.8873, allocations: 2.024 MB / 1.197 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.8874, allocations: 0 / 1.197 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006095/0.888, allocations: 159.7 kB / 1.197 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005255/0.8885, allocations: 84.77 kB / 1.197 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.318e-05/0.8886, allocations: 23.98 kB / 1.197 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.8903, allocations: 1.544 MB / 1.198 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8904, allocations: 0 / 1.198 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.8925, allocations: 1.058 MB / 1.199 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004453/0.8929, allocations: 299.5 kB / 1.2 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.893, allocations: 23.94 kB / 1.2 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007444/0.8938, allocations: 88.53 kB / 1.2 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.894, allocations: 76.88 kB / 1.2 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.386e-05/0.8941, allocations: 35.98 kB / 1.2 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006333/0.8947, allocations: 463 kB / 1.2 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8947, allocations: 0 / 1.2 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009469/0.8957, allocations: 331.2 kB / 1.201 GB, free: 8.418 MB / 0.9512 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 (99): * Single equations (assignments): 92 * 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.001427/0.8971, allocations: 0.6147 MB / 1.201 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001784/0.8989, allocations: 0.8743 MB / 1.202 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.8989, allocations: 3.938 kB / 1.202 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009725/0.8999, allocations: 0.5393 MB / 1.203 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.9013, allocations: 272.3 kB / 1.203 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/0.9048, allocations: 2.15 MB / 1.205 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006182/0.9055, allocations: 1.039 MB / 1.206 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008903/0.9064, allocations: 278.8 kB / 1.206 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.9067, allocations: 107.4 kB / 1.206 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of SimCode: time 7.51e-07/0.9067, allocations: 0 / 1.206 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of Templates: time 0.02507/0.9318, allocations: 14.83 MB / 1.221 GB, free: 3.992 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches