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.001058/0.001058, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001407/0.001407, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.769/2.769, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.0004141, allocations: 11.5 kB / 0.9021 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3608, allocations: 159.6 MB / 1.058 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005956/0.3668, allocations: 4.159 MB / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1661/0.5329, allocations: 136.8 MB / 1.196 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007686/0.5337, allocations: 19.88 kB / 1.196 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005515/0.5343, allocations: 142.8 kB / 1.196 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.5358, allocations: 463.4 kB / 1.196 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.5374, allocations: 0.6227 MB / 1.197 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001309/0.5387, allocations: 1.195 MB / 1.198 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006825/0.5394, allocations: 439.6 kB / 1.198 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004872/0.5399, allocations: 346.5 kB / 1.199 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004312/0.5403, allocations: 367.7 kB / 1.199 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.079e-05/0.5404, allocations: 24 kB / 1.199 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007002/0.5411, allocations: 343.6 kB / 1.2 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.5413, allocations: 179.2 kB / 1.2 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.5415, allocations: 197.1 kB / 1.2 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.5427, allocations: 1.188 MB / 1.201 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5427, allocations: 0 / 1.201 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5427, allocations: 7.938 kB / 1.201 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.5427, allocations: 0 / 1.201 GB, free: 2.473 MB / 0.9512 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.002087/0.5448, allocations: 1.216 MB / 1.202 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.5449, allocations: 12.02 kB / 1.202 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007992/0.5457, allocations: 190.5 kB / 1.202 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.5467, allocations: 0.7148 MB / 1.203 GB, free: 256 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.922e-05/0.5468, allocations: 65.94 kB / 1.203 GB, free: 192 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.5469, allocations: 91.98 kB / 1.203 GB, free: 100 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.5485, allocations: 0.9106 MB / 1.204 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.5485, allocations: 4 kB / 1.204 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.099e-05/0.5486, allocations: 36 kB / 1.204 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.5486, allocations: 20 kB / 1.204 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.5503, allocations: 1.112 MB / 1.205 GB, free: 13.97 MB / 0.9669 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.003925/0.5543, allocations: 2.755 MB / 1.208 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.5557, allocations: 0.8832 MB / 1.209 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005294/0.5563, allocations: 310.6 kB / 1.209 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.259e-05/0.5564, allocations: 28.61 kB / 1.209 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000868/0.5573, allocations: 0.5005 MB / 1.21 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=79): time 2.454e-06/0.5573, allocations: 0 / 1.21 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of matching and sorting (n=79): time 0.002878/0.5601, allocations: 1.198 MB / 1.211 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.5603, allocations: 192.6 kB / 1.211 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000794/0.5611, allocations: 0.6213 MB / 1.212 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.027e-05/0.5612, allocations: 41.7 kB / 1.212 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000385/0.5616, allocations: 392.4 kB / 1.212 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.5618, allocations: 252.4 kB / 1.212 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.5618, allocations: 16 kB / 1.212 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.562, allocations: 382.8 kB / 1.213 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004999/0.5625, allocations: 273.8 kB / 1.213 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005794/0.5631, allocations: 363.1 kB / 1.213 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005528/0.5637, allocations: 298.9 kB / 1.214 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.5637, allocations: 8 kB / 1.214 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001785/0.5655, allocations: 0.8526 MB / 1.214 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.5655, allocations: 9.875 kB / 1.214 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.5655, allocations: 0 / 1.214 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005488/0.5661, allocations: 84.86 kB / 1.214 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.5667, allocations: 159.7 kB / 1.215 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/0.5689, allocations: 1.545 MB / 1.216 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/0.5696, allocations: 103.4 kB / 1.216 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-05/0.5697, allocations: 35.98 kB / 1.216 GB, free: 2.301 MB / 0.9669 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005117/0.5702, allocations: 267.4 kB / 1.217 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.5704, allocations: 82.92 kB / 1.217 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/0.5727, allocations: 1.077 MB / 1.218 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.5727, allocations: 12 kB / 1.218 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.5728, allocations: 0 / 1.218 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.5728, allocations: 3.984 kB / 1.218 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003247/0.576, allocations: 1.958 MB / 1.22 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.576, allocations: 3.953 kB / 1.22 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005617/0.5766, allocations: 143.8 kB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000467/0.5771, allocations: 96.64 kB / 1.22 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.506e-05/0.5772, allocations: 19.98 kB / 1.22 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.579, allocations: 1.567 MB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.579, allocations: 0 / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.581, allocations: 0.996 MB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004535/0.5814, allocations: 287.7 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.5816, allocations: 20.14 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006234/0.5822, allocations: 90.22 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.5824, allocations: 68.89 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.618e-05/0.5824, allocations: 31.97 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006183/0.5831, allocations: 451 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.51e-07/0.5831, allocations: 0 / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009408/0.584, allocations: 315.3 kB / 1.224 GB, free: 10.59 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001383/0.5854, allocations: 0.592 MB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001675/0.5871, allocations: 0.8275 MB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5871, allocations: 0 / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000895/0.588, allocations: 0.5198 MB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.5892, allocations: 272.4 kB / 1.226 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.5928, allocations: 2.016 MB / 1.228 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007402/0.5936, allocations: 1.021 MB / 1.229 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008883/0.5944, allocations: 258.6 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.5947, allocations: 99.33 kB / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of SimCode: time 6.62e-07/0.5947, allocations: 4 kB / 1.229 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of Templates: time 0.02795/0.6227, allocations: 14.02 MB / 1.243 GB, free: 7.23 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches