Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_latest_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_latest_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.0009719/0.0009719, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007499/0.0075, allocations: 170 kB / 16.27 MB, free: 6.652 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 462.7 MB / 0.7364 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003293, allocations: 8.812 kB / 0.9028 GB, free: 36.74 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2741, allocations: 159.6 MB / 1.059 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006748/0.2809, allocations: 6.432 MB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1582/0.4391, allocations: 147.4 MB / 1.209 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.4403, allocations: 19.88 kB / 1.209 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006232/0.4409, allocations: 198.4 kB / 1.209 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002223/0.4431, allocations: 0.678 MB / 1.21 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.4451, allocations: 0.8658 MB / 1.211 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002356/0.4475, allocations: 1.996 MB / 1.213 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.4488, allocations: 0.9712 MB / 1.213 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009395/0.4497, allocations: 0.5792 MB / 1.214 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007573/0.4505, allocations: 0.6605 MB / 1.215 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.4506, allocations: 40 kB / 1.215 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009127/0.4515, allocations: 387.5 kB / 1.215 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.4518, allocations: 274.6 kB / 1.215 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006506/0.4525, allocations: 0.7549 MB / 1.216 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.4547, allocations: 2.332 MB / 1.218 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4547, allocations: 4 kB / 1.218 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4547, allocations: 0 / 1.218 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.531e-05/0.4547, allocations: 0 / 1.218 GB, free: 1.293 MB / 0.9669 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.003457/0.4582, allocations: 1.716 MB / 1.22 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.4582, allocations: 8.031 kB / 1.22 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.4593, allocations: 274.5 kB / 1.22 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.4607, allocations: 0.9693 MB / 1.221 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.376e-05/0.4608, allocations: 115.1 kB / 1.221 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.461, allocations: 144 kB / 1.222 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/0.4636, allocations: 1.592 MB / 1.223 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.4636, allocations: 7.984 kB / 1.223 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.4637, allocations: 64 kB / 1.223 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.4638, allocations: 36 kB / 1.223 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.4663, allocations: 1.639 MB / 1.225 GB, free: 10.57 MB / 0.9825 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.006795/0.4731, allocations: 4.622 MB / 1.229 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/0.4753, allocations: 1.196 MB / 1.23 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008062/0.4761, allocations: 479.7 kB / 1.231 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-05/0.4762, allocations: 49.06 kB / 1.231 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001403/0.4776, allocations: 0.7861 MB / 1.232 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=128): time 2.504e-06/0.4776, allocations: 4 kB / 1.232 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=128): time 0.004314/0.4819, allocations: 1.861 MB / 1.234 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.482, allocations: 193.2 kB / 1.234 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.4832, allocations: 0.8692 MB / 1.235 GB, free: 236 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.795e-05/0.4833, allocations: 53.7 kB / 1.235 GB, free: 176 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004617/0.4838, allocations: 0.6092 MB / 1.235 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/0.4841, allocations: 410.2 kB / 1.236 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.4842, allocations: 101.7 kB / 1.236 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4844, allocations: 353.9 kB / 1.236 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008443/0.4852, allocations: 458.4 kB / 1.236 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009423/0.4862, allocations: 0.5649 MB / 1.237 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.488, allocations: 0.9974 MB / 1.238 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.488, allocations: 4 kB / 1.238 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002855/0.4908, allocations: 1.352 MB / 1.239 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.4909, allocations: 8 kB / 1.239 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.4909, allocations: 0 / 1.239 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000622/0.4915, allocations: 88.89 kB / 1.239 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.4927, allocations: 271.5 kB / 1.24 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.4947, allocations: 1.537 MB / 1.241 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.496, allocations: 185.4 kB / 1.241 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.4962, allocations: 59.95 kB / 1.241 GB, free: 9.008 MB / 0.9981 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.0006882/0.4968, allocations: 361.7 kB / 1.242 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.4971, allocations: 118.5 kB / 1.242 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003661/0.5007, allocations: 1.717 MB / 1.244 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.5007, allocations: 12 kB / 1.244 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.5008, allocations: 0 / 1.244 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.5008, allocations: 3.984 kB / 1.244 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.5025, allocations: 1.397 MB / 1.245 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5025, allocations: 4 kB / 1.245 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009455/0.5035, allocations: 215.7 kB / 1.245 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005612/0.504, allocations: 100.6 kB / 1.245 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.329e-05/0.5041, allocations: 35.97 kB / 1.245 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/0.5059, allocations: 1.563 MB / 1.247 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5059, allocations: 4.062 kB / 1.247 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/0.5088, allocations: 1.418 MB / 1.248 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000617/0.5094, allocations: 398.9 kB / 1.249 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.5096, allocations: 28 kB / 1.249 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.5106, allocations: 127.8 kB / 1.249 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/0.5108, allocations: 109.1 kB / 1.249 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.511, allocations: 55.95 kB / 1.249 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008656/0.5118, allocations: 0.6464 MB / 1.25 GB, free: 468 kB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5119, allocations: 0 / 1.25 GB, free: 468 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.5223/1.034, allocations: 491.9 kB / 1.25 GB, free: 189.3 MB / 0.9981 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.001848/1.036, allocations: 0.6238 MB / 1.251 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002837/1.039, allocations: 1.279 MB / 1.252 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.039, allocations: 3.812 kB / 1.252 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/1.04, allocations: 0.7421 MB / 1.253 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/1.042, allocations: 327.5 kB / 1.253 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004427/1.046, allocations: 3.298 MB / 1.256 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005837/1.047, allocations: 1.236 MB / 1.257 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001058/1.048, allocations: 337.3 kB / 1.258 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/1.049, allocations: 157.1 kB / 1.258 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of SimCode: time 4.5e-07/1.049, allocations: 0 / 1.258 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03875/1.087, allocations: 20.51 MB / 1.278 GB, free: 181.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches