Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_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.007435/0.007435, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001561/0.001561, allocations: 195.9 kB / 16.67 MB, free: 5.977 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 62.11 kB / 0.9508 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2615, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006268/0.2678, allocations: 4.3 MB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1648/0.4327, allocations: 150.6 MB / 1.239 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008772/0.4336, allocations: 19.88 kB / 1.239 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006911/0.4344, allocations: 170.4 kB / 1.239 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.4362, allocations: 0.5011 MB / 1.24 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.4382, allocations: 0.8288 MB / 1.241 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001629/0.4399, allocations: 1.293 MB / 1.242 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.4409, allocations: 0.6295 MB / 1.242 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007509/0.4417, allocations: 466.4 kB / 1.243 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007332/0.4424, allocations: 0.49 MB / 1.243 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003003/0.4427, allocations: 116 kB / 1.244 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.4439, allocations: 479.6 kB / 1.244 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004074/0.4443, allocations: 299.1 kB / 1.244 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007612/0.4451, allocations: 0.544 MB / 1.245 GB, free: 200 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002215/0.4473, allocations: 1.612 MB / 1.246 GB, free: 14.58 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4474, allocations: 0 / 1.246 GB, free: 14.58 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4474, allocations: 0 / 1.246 GB, free: 14.58 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.4474, allocations: 4 kB / 1.246 GB, free: 14.57 MB / 1.014 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.002339/0.4497, allocations: 1.407 MB / 1.248 GB, free: 13.12 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.4498, allocations: 8.031 kB / 1.248 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009853/0.4508, allocations: 183.4 kB / 1.248 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.452, allocations: 0.7695 MB / 1.249 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.34e-05/0.4521, allocations: 61.98 kB / 1.249 GB, free: 12.06 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.4522, allocations: 80 kB / 1.249 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.4537, allocations: 0.9222 MB / 1.25 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.4538, allocations: 3.938 kB / 1.25 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.833e-05/0.4539, allocations: 32 kB / 1.25 GB, free: 10.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/0.4539, allocations: 20 kB / 1.25 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.4557, allocations: 1.12 MB / 1.251 GB, free: 9.84 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003889/0.4596, allocations: 2.496 MB / 1.253 GB, free: 7.277 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.4613, allocations: 0.8886 MB / 1.254 GB, free: 6.367 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005535/0.4618, allocations: 298.7 kB / 1.254 GB, free: 6.074 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.66e-05/0.4619, allocations: 32.59 kB / 1.254 GB, free: 6.043 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008758/0.4628, allocations: 495.2 kB / 1.255 GB, free: 5.539 MB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 2.815e-06/0.4628, allocations: 4 kB / 1.255 GB, free: 5.535 MB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.003052/0.4659, allocations: 1.19 MB / 1.256 GB, free: 4.316 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.466, allocations: 196.6 kB / 1.256 GB, free: 4.082 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008606/0.4669, allocations: 0.6253 MB / 1.257 GB, free: 3.449 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.179e-05/0.467, allocations: 41.7 kB / 1.257 GB, free: 3.402 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.4673, allocations: 384.4 kB / 1.257 GB, free: 3.02 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.4675, allocations: 260.3 kB / 1.258 GB, free: 2.762 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.4677, allocations: 162.5 kB / 1.258 GB, free: 2.594 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.4679, allocations: 390.7 kB / 1.258 GB, free: 2.203 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/0.4684, allocations: 265.9 kB / 1.258 GB, free: 1.945 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/0.4691, allocations: 367 kB / 1.259 GB, free: 1.57 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.4702, allocations: 0.6034 MB / 1.259 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4703, allocations: 0 / 1.259 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001912/0.4722, allocations: 0.8448 MB / 1.26 GB, free: 104 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.4722, allocations: 8 kB / 1.26 GB, free: 96 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.4722, allocations: 0 / 1.26 GB, free: 96 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005603/0.4728, allocations: 88.8 kB / 1.26 GB, free: 4 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.5693/1.042, allocations: 155.2 kB / 1.26 GB, free: 173.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/1.044, allocations: 1.632 MB / 1.262 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008492/1.045, allocations: 96.11 kB / 1.262 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.283e-05/1.045, allocations: 39.3 kB / 1.262 GB, free: 172.2 MB / 1.014 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.0004438/1.046, allocations: 270.3 kB / 1.262 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/1.046, allocations: 81.27 kB / 1.262 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/1.048, allocations: 1.062 MB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/1.048, allocations: 9 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/1.048, allocations: 0.75 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/1.048, allocations: 6.188 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/1.052, allocations: 1.945 MB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/1.052, allocations: 2.203 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005666/1.052, allocations: 145.3 kB / 1.266 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000431/1.053, allocations: 72.23 kB / 1.266 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-05/1.053, allocations: 29.27 kB / 1.266 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/1.054, allocations: 1.673 MB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.054, allocations: 0 / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/1.056, allocations: 1.001 MB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003269/1.057, allocations: 272.4 kB / 1.268 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/1.057, allocations: 20.66 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006151/1.057, allocations: 64.73 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/1.058, allocations: 71.16 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.606e-05/1.058, allocations: 36.84 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006154/1.058, allocations: 456.9 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.9e-07/1.058, allocations: 0 / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009305/1.059, allocations: 311.1 kB / 1.269 GB, free: 168.9 MB / 1.014 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.001294/1.061, allocations: 0.5974 MB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001683/1.062, allocations: 0.8319 MB / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.062, allocations: 1.062 kB / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009476/1.063, allocations: 0.512 MB / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/1.064, allocations: 300.9 kB / 1.272 GB, free: 168.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004348/1.069, allocations: 1.737 MB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000636/1.069, allocations: 1.016 MB / 1.274 GB, free: 166.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008867/1.07, allocations: 262.8 kB / 1.275 GB, free: 166.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002971/1.071, allocations: 106.8 kB / 1.275 GB, free: 166.4 MB / 1.014 GB Notification: Performance of SimCode: time 5.91e-07/1.071, allocations: 0.5312 kB / 1.275 GB, free: 166.4 MB / 1.014 GB Notification: Performance of Templates: time 0.02578/1.096, allocations: 15.16 MB / 1.289 GB, free: 163.2 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches