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.01004/0.01004, allocations: 106.8 kB / 15.74 MB, free: 6.051 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.002312/0.002312, allocations: 197 kB / 16.68 MB, free: 5.98 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.431/2.431, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 61.95 kB / 0.9508 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2616, allocations: 140.4 MB / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007665/0.2693, allocations: 5.448 MB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1611/0.4305, allocations: 151.1 MB / 1.241 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009878/0.4315, allocations: 23.88 kB / 1.241 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008116/0.4324, allocations: 213.9 kB / 1.241 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00234/0.4347, allocations: 0.6898 MB / 1.242 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.4371, allocations: 0.984 MB / 1.243 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002247/0.4393, allocations: 1.904 MB / 1.245 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001482/0.4408, allocations: 1.076 MB / 1.246 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.4419, allocations: 0.8057 MB / 1.246 GB, free: 14.61 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.4431, allocations: 0.879 MB / 1.247 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003824/0.4435, allocations: 204 kB / 1.247 GB, free: 13.53 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.4446, allocations: 0.566 MB / 1.248 GB, free: 12.96 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004845/0.4451, allocations: 486.5 kB / 1.248 GB, free: 12.49 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.4461, allocations: 0.9055 MB / 1.249 GB, free: 11.58 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002854/0.449, allocations: 2.48 MB / 1.252 GB, free: 9.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.449, allocations: 0 / 1.252 GB, free: 9.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.803e-06/0.449, allocations: 0 / 1.252 GB, free: 9.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.906e-05/0.449, allocations: 0 / 1.252 GB, free: 9.09 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.004528/0.4536, allocations: 2.023 MB / 1.254 GB, free: 7.004 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.4536, allocations: 12.03 kB / 1.254 GB, free: 6.992 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.4547, allocations: 254.6 kB / 1.254 GB, free: 6.742 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.4564, allocations: 0.9927 MB / 1.255 GB, free: 5.707 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.567e-05/0.4565, allocations: 115.1 kB / 1.255 GB, free: 5.594 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.4567, allocations: 148 kB / 1.255 GB, free: 5.449 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/0.4595, allocations: 1.58 MB / 1.257 GB, free: 3.812 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/0.4596, allocations: 3.938 kB / 1.257 GB, free: 3.809 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.4597, allocations: 64 kB / 1.257 GB, free: 3.746 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/0.4598, allocations: 36 kB / 1.257 GB, free: 3.711 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002802/0.4626, allocations: 1.643 MB / 1.258 GB, free: 2.062 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5829/1.046, allocations: 4.075 MB / 1.262 GB, free: 171.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/1.048, allocations: 1.183 MB / 1.264 GB, free: 171.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008839/1.049, allocations: 478.8 kB / 1.264 GB, free: 171.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/1.049, allocations: 50.92 kB / 1.264 GB, free: 171.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001542/1.05, allocations: 0.779 MB / 1.265 GB, free: 171.2 MB / 1.014 GB Notification: Performance of pre-optimization done (n=128): time 3.577e-06/1.05, allocations: 0 / 1.265 GB, free: 171.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=128): time 0.004684/1.055, allocations: 1.837 MB / 1.267 GB, free: 170.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.886e-05/1.055, allocations: 199.4 kB / 1.267 GB, free: 170.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/1.057, allocations: 0.8676 MB / 1.268 GB, free: 169.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/1.057, allocations: 54.33 kB / 1.268 GB, free: 169.9 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004777/1.057, allocations: 0.6051 MB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/1.058, allocations: 409 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004237/1.058, allocations: 258.2 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.161e-05/1.058, allocations: 353.4 kB / 1.269 GB, free: 168.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009652/1.059, allocations: 446.6 kB / 1.27 GB, free: 168.6 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/1.06, allocations: 0.5634 MB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/1.062, allocations: 0.9808 MB / 1.271 GB, free: 167.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.062, allocations: 0 / 1.271 GB, free: 167.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003384/1.066, allocations: 1.337 MB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/1.066, allocations: 8.766 kB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/1.066, allocations: 4.594 kB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006465/1.066, allocations: 86.19 kB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/1.068, allocations: 263.6 kB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/1.069, allocations: 1.659 MB / 1.274 GB, free: 165.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/1.071, allocations: 146.9 kB / 1.275 GB, free: 165.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/1.071, allocations: 55.31 kB / 1.275 GB, free: 165.7 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.0006201/1.071, allocations: 351.5 kB / 1.275 GB, free: 165.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/1.072, allocations: 116.7 kB / 1.275 GB, free: 165.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003512/1.075, allocations: 1.708 MB / 1.277 GB, free: 164.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/1.075, allocations: 14.25 kB / 1.277 GB, free: 164.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.075, allocations: 3.938 kB / 1.277 GB, free: 164.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/1.075, allocations: 7.172 kB / 1.277 GB, free: 164.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/1.077, allocations: 1.396 MB / 1.278 GB, free: 164.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.077, allocations: 3.375 kB / 1.278 GB, free: 164.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009115/1.078, allocations: 219.3 kB / 1.278 GB, free: 164.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000436/1.078, allocations: 73.89 kB / 1.278 GB, free: 164 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.341e-05/1.079, allocations: 41.52 kB / 1.278 GB, free: 164 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/1.08, allocations: 1.671 MB / 1.28 GB, free: 162.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.08, allocations: 0 / 1.28 GB, free: 162.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002719/1.083, allocations: 1.41 MB / 1.281 GB, free: 161.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004816/1.083, allocations: 371.8 kB / 1.282 GB, free: 161.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/1.084, allocations: 43.66 kB / 1.282 GB, free: 161.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008637/1.084, allocations: 92.42 kB / 1.282 GB, free: 161.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/1.085, allocations: 109.4 kB / 1.282 GB, free: 161.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/1.085, allocations: 56.61 kB / 1.282 GB, free: 161.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008409/1.086, allocations: 0.6435 MB / 1.283 GB, free: 161.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.41e-07/1.086, allocations: 0 / 1.283 GB, free: 161.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001106/1.087, allocations: 468.1 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.001331/1.088, allocations: 0.6264 MB / 1.284 GB, free: 160.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002357/1.09, allocations: 1.273 MB / 1.285 GB, free: 160.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.09, allocations: 0 / 1.285 GB, free: 160.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/1.092, allocations: 0.74 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.001186/1.093, allocations: 317 kB / 1.286 GB, free: 160 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004894/1.098, allocations: 2.647 MB / 1.289 GB, free: 158.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000822/1.099, allocations: 1.238 MB / 1.29 GB, free: 158 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001098/1.1, allocations: 333 kB / 1.29 GB, free: 157.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004654/1.1, allocations: 160 kB / 1.29 GB, free: 157.8 MB / 1.014 GB Notification: Performance of SimCode: time 7.61e-07/1.1, allocations: 1.25 kB / 1.29 GB, free: 157.8 MB / 1.014 GB Notification: Performance of Templates: time 0.0382/1.138, allocations: 21 MB / 1.311 GB, free: 148.7 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