Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 107.9 kB / 16.37 MB, free: 5.516 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.001076/0.001076, allocations: 193.3 kB / 17.31 MB, free: 5.16 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.403/2.403, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.001351, allocations: 55.77 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2733, allocations: 153 MB / 1.027 GB, free: 2.102 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006697/0.28, allocations: 4.832 MB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6378/0.9178, allocations: 150.6 MB / 1.178 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009479/0.9188, allocations: 15.62 kB / 1.179 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007565/0.9197, allocations: 192.7 kB / 1.179 GB, free: 6.703 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.9218, allocations: 0.5429 MB / 1.179 GB, free: 6.391 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.924, allocations: 0.8388 MB / 1.18 GB, free: 5.93 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001905/0.926, allocations: 1.386 MB / 1.181 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.927, allocations: 0.5957 MB / 1.182 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009793/0.928, allocations: 481.4 kB / 1.182 GB, free: 4.426 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.9291, allocations: 0.4945 MB / 1.183 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002851/0.9294, allocations: 117.7 kB / 1.183 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.9306, allocations: 494.8 kB / 1.183 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002961/0.9309, allocations: 301.7 kB / 1.184 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006408/0.9315, allocations: 0.5514 MB / 1.184 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.9334, allocations: 1.647 MB / 1.186 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9335, allocations: 0 / 1.186 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9335, allocations: 0 / 1.186 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.569e-05/0.9335, allocations: 0 / 1.186 GB, free: 2.066 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002541/0.936, allocations: 1.416 MB / 1.187 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.9361, allocations: 8.625 kB / 1.187 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009326/0.937, allocations: 187.4 kB / 1.188 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.9383, allocations: 0.7518 MB / 1.188 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.826e-05/0.9383, allocations: 68.31 kB / 1.188 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.9385, allocations: 77.84 kB / 1.188 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.94, allocations: 0.9202 MB / 1.189 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.9401, allocations: 0 / 1.189 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-05/0.9402, allocations: 40.89 kB / 1.189 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.9402, allocations: 20.16 kB / 1.189 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.9421, allocations: 1.107 MB / 1.19 GB, free: 15.02 MB / 0.9044 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.004105/0.9462, allocations: 2.706 MB / 1.193 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.9478, allocations: 0.8972 MB / 1.194 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005157/0.9483, allocations: 299.9 kB / 1.194 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-05/0.9484, allocations: 36.05 kB / 1.194 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008456/0.9492, allocations: 498 kB / 1.195 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=79): time 2.585e-06/0.9492, allocations: 0 / 1.195 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=79): time 0.003087/0.9523, allocations: 1.192 MB / 1.196 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.927e-05/0.9525, allocations: 189 kB / 1.196 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007529/0.9532, allocations: 0.6219 MB / 1.197 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.551e-05/0.9533, allocations: 43.48 kB / 1.197 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.9536, allocations: 395.1 kB / 1.197 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.9538, allocations: 258.5 kB / 1.197 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/0.954, allocations: 157.7 kB / 1.197 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.9542, allocations: 392 kB / 1.198 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005245/0.9547, allocations: 270.7 kB / 1.198 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006018/0.9553, allocations: 359.7 kB / 1.198 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.9563, allocations: 0.6056 MB / 1.199 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.9564, allocations: 2.688 kB / 1.199 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001824/0.9582, allocations: 0.8528 MB / 1.2 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.9582, allocations: 5.75 kB / 1.2 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.9582, allocations: 0 / 1.2 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005874/0.9588, allocations: 85.48 kB / 1.2 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006111/0.9595, allocations: 154.5 kB / 1.2 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.9615, allocations: 1.653 MB / 1.202 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007543/0.9623, allocations: 96.16 kB / 1.202 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.202e-05/0.9624, allocations: 30.7 kB / 1.202 GB, free: 6.656 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0003955/0.9628, allocations: 273.9 kB / 1.202 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.9629, allocations: 83.25 kB / 1.202 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.9652, allocations: 1.053 MB / 1.203 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.9652, allocations: 10.47 kB / 1.203 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.9652, allocations: 0 / 1.203 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.9652, allocations: 15.91 kB / 1.203 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/0.9683, allocations: 1.955 MB / 1.205 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.9683, allocations: 0 / 1.205 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/0.9689, allocations: 143.4 kB / 1.205 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004367/0.9694, allocations: 74.28 kB / 1.205 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/0.9694, allocations: 23.73 kB / 1.205 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.9713, allocations: 1.674 MB / 1.207 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.9713, allocations: 0 / 1.207 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.9732, allocations: 1.001 MB / 1.208 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/0.9737, allocations: 267.3 kB / 1.208 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.9738, allocations: 25.73 kB / 1.208 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006528/0.9745, allocations: 58.36 kB / 1.208 GB, free: 1.922 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.9746, allocations: 70.38 kB / 1.208 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.121e-05/0.9747, allocations: 38.22 kB / 1.208 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005219/0.9752, allocations: 454.9 kB / 1.209 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.693e-06/0.9752, allocations: 0 / 1.209 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008611/0.9761, allocations: 323.6 kB / 1.209 GB, free: 1.52 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001358/0.9774, allocations: 0.599 MB / 1.21 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.9791, allocations: 0.8283 MB / 1.211 GB, free: 500 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.9791, allocations: 0 / 1.211 GB, free: 500 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009236/0.98, allocations: 0.5238 MB / 1.211 GB, free: 15.95 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.9812, allocations: 313.7 kB / 1.211 GB, free: 15.67 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.9839, allocations: 1.619 MB / 1.213 GB, free: 14.02 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005533/0.9845, allocations: 1.019 MB / 1.214 GB, free: 12.97 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007284/0.9852, allocations: 258.5 kB / 1.214 GB, free: 12.71 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.9855, allocations: 107.4 kB / 1.214 GB, free: 12.61 MB / 0.92 GB Notification: Performance of SimCode: time 5.41e-07/0.9855, allocations: 0 / 1.214 GB, free: 12.61 MB / 0.92 GB Notification: Performance of Templates: time 0.02452/1.01, allocations: 15.16 MB / 1.229 GB, free: 13.62 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches