Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008863/0.008863, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001542/0.001542, allocations: 183.8 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.327/2.327, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 62.28 kB / 0.9508 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2726, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007717/0.2804, allocations: 5.46 MB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1615/0.4419, allocations: 151.1 MB / 1.241 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.4432, allocations: 15.94 kB / 1.241 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008772/0.4441, allocations: 209.9 kB / 1.241 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002496/0.4466, allocations: 0.6815 MB / 1.242 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.4493, allocations: 0.9803 MB / 1.243 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002803/0.4521, allocations: 1.896 MB / 1.244 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.4537, allocations: 1.08 MB / 1.246 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.455, allocations: 0.8135 MB / 1.246 GB, free: 14.6 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.4562, allocations: 0.8596 MB / 1.247 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002855/0.4565, allocations: 208 kB / 1.247 GB, free: 13.53 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.4577, allocations: 0.5699 MB / 1.248 GB, free: 12.96 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004497/0.4582, allocations: 486.4 kB / 1.248 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009305/0.4591, allocations: 0.9056 MB / 1.249 GB, free: 11.57 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00281/0.4619, allocations: 2.484 MB / 1.252 GB, free: 9.082 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.462, allocations: 7.938 kB / 1.252 GB, free: 9.074 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.403e-06/0.462, allocations: 0 / 1.252 GB, free: 9.074 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.571e-05/0.462, allocations: 4 kB / 1.252 GB, free: 9.07 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003893/0.4659, allocations: 2.011 MB / 1.254 GB, free: 6.996 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.466, allocations: 15.97 kB / 1.254 GB, free: 6.98 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009815/0.467, allocations: 254.6 kB / 1.254 GB, free: 6.73 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.4683, allocations: 0.9888 MB / 1.255 GB, free: 5.699 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-05/0.4684, allocations: 111.1 kB / 1.255 GB, free: 5.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.4686, allocations: 152 kB / 1.255 GB, free: 5.441 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002621/0.4713, allocations: 1.584 MB / 1.257 GB, free: 3.801 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/0.4713, allocations: 3.938 kB / 1.257 GB, free: 3.797 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.4714, allocations: 72 kB / 1.257 GB, free: 3.727 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/0.4715, allocations: 36 kB / 1.257 GB, free: 3.691 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002545/0.474, allocations: 1.635 MB / 1.258 GB, free: 2.051 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.613/1.087, allocations: 4.072 MB / 1.262 GB, free: 171.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/1.09, allocations: 1.182 MB / 1.264 GB, free: 171.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009446/1.091, allocations: 475.6 kB / 1.264 GB, free: 171.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/1.091, allocations: 48.34 kB / 1.264 GB, free: 171.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00161/1.092, allocations: 0.7858 MB / 1.265 GB, free: 171.2 MB / 1.014 GB Notification: Performance of pre-optimization done (n=128): time 3.997e-06/1.092, allocations: 0 / 1.265 GB, free: 171.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=128): time 0.004671/1.097, allocations: 1.839 MB / 1.267 GB, free: 170.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.615e-05/1.097, allocations: 195.9 kB / 1.267 GB, free: 170.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/1.098, allocations: 0.8713 MB / 1.268 GB, free: 169.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001901/1.099, allocations: 53.3 kB / 1.268 GB, free: 169.9 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004629/1.099, allocations: 0.602 MB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003057/1.099, allocations: 408.6 kB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003901/1.1, allocations: 255.8 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.996e-05/1.1, allocations: 354.2 kB / 1.269 GB, free: 168.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000917/1.101, allocations: 447.3 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/1.102, allocations: 0.5628 MB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001911/1.104, allocations: 0.9788 MB / 1.271 GB, free: 167.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.104, allocations: 1.781 kB / 1.271 GB, free: 167.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003641/1.108, allocations: 1.343 MB / 1.272 GB, free: 167.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/1.108, allocations: 6.422 kB / 1.272 GB, free: 167.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.108, allocations: 1.062 kB / 1.272 GB, free: 167.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006588/1.108, allocations: 84.09 kB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/1.109, allocations: 266.9 kB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/1.111, allocations: 1.65 MB / 1.274 GB, free: 165.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/1.113, allocations: 152.8 kB / 1.275 GB, free: 165.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/1.113, allocations: 63.91 kB / 1.275 GB, free: 165.6 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: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0007267/1.114, allocations: 349.5 kB / 1.275 GB, free: 165.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/1.114, allocations: 121 kB / 1.275 GB, free: 165.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003841/1.118, allocations: 1.701 MB / 1.277 GB, free: 164.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/1.118, allocations: 14.12 kB / 1.277 GB, free: 164.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.118, allocations: 1.781 kB / 1.277 GB, free: 164.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.237e-05/1.118, allocations: 7.125 kB / 1.277 GB, free: 164.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/1.12, allocations: 1.397 MB / 1.278 GB, free: 164 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.12, allocations: 4.469 kB / 1.278 GB, free: 164 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/1.121, allocations: 215.4 kB / 1.278 GB, free: 164 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004786/1.121, allocations: 78.97 kB / 1.278 GB, free: 164 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/1.122, allocations: 36.94 kB / 1.278 GB, free: 164 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/1.123, allocations: 1.674 MB / 1.28 GB, free: 162.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.123, allocations: 0 / 1.28 GB, free: 162.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002935/1.126, allocations: 1.411 MB / 1.281 GB, free: 161.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006026/1.127, allocations: 374.6 kB / 1.282 GB, free: 161.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/1.127, allocations: 44 kB / 1.282 GB, free: 161.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000934/1.128, allocations: 84.52 kB / 1.282 GB, free: 161.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/1.128, allocations: 109.8 kB / 1.282 GB, free: 161.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/1.128, allocations: 57.42 kB / 1.282 GB, free: 161.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009004/1.129, allocations: 0.6482 MB / 1.283 GB, free: 161.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.31e-07/1.129, allocations: 0 / 1.283 GB, free: 161.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001351/1.131, allocations: 465 kB / 1.283 GB, free: 161.1 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: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001403/1.132, allocations: 0.6186 MB / 1.284 GB, free: 160.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002807/1.135, allocations: 1.268 MB / 1.285 GB, free: 160.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/1.135, allocations: 0 / 1.285 GB, free: 160.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001518/1.136, allocations: 0.7435 MB / 1.286 GB, free: 160.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/1.138, allocations: 327.4 kB / 1.286 GB, free: 159.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005614/1.144, allocations: 2.646 MB / 1.289 GB, free: 158.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009202/1.145, allocations: 1.236 MB / 1.29 GB, free: 157.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001404/1.146, allocations: 334.2 kB / 1.29 GB, free: 157.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004599/1.146, allocations: 164.6 kB / 1.29 GB, free: 157.8 MB / 1.014 GB Notification: Performance of SimCode: time 9.82e-07/1.146, allocations: 0 / 1.29 GB, free: 157.8 MB / 1.014 GB Notification: Performance of Templates: time 0.03804/1.185, allocations: 21.46 MB / 1.311 GB, free: 148.2 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches