Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005804/0.005804, allocations: 98.48 kB / 15.73 MB, free: 6.004 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.001259/0.001259, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.346/2.346, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 62.19 kB / 0.9508 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2861, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005676/0.2918, allocations: 4.431 MB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.168/0.4598, allocations: 150.6 MB / 1.239 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009156/0.4608, allocations: 19.88 kB / 1.239 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006057/0.4614, allocations: 182.3 kB / 1.239 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.4632, allocations: 0.5275 MB / 1.24 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.4654, allocations: 0.848 MB / 1.241 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001617/0.467, allocations: 1.355 MB / 1.242 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008691/0.4679, allocations: 0.622 MB / 1.243 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006387/0.4685, allocations: 498.3 kB / 1.243 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005599/0.4691, allocations: 0.5094 MB / 1.244 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.4693, allocations: 124 kB / 1.244 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008739/0.4701, allocations: 487.6 kB / 1.244 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.4704, allocations: 307 kB / 1.245 GB, free: 416 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000496/0.4709, allocations: 0.5597 MB / 1.245 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.4729, allocations: 1.646 MB / 1.247 GB, free: 14.19 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4729, allocations: 0 / 1.247 GB, free: 14.19 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4729, allocations: 0 / 1.247 GB, free: 14.19 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.4729, allocations: 4 kB / 1.247 GB, free: 14.19 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00277/0.4757, allocations: 1.489 MB / 1.248 GB, free: 12.64 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4757, allocations: 12.03 kB / 1.248 GB, free: 12.63 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009436/0.4767, allocations: 192 kB / 1.248 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.4779, allocations: 0.7747 MB / 1.249 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.365e-05/0.478, allocations: 66 kB / 1.249 GB, free: 11.56 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.4781, allocations: 91.98 kB / 1.249 GB, free: 11.47 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.4796, allocations: 0.9534 MB / 1.25 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.4797, allocations: 0 / 1.25 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-05/0.4798, allocations: 36 kB / 1.25 GB, free: 10.44 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.4798, allocations: 24 kB / 1.25 GB, free: 10.42 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.4816, allocations: 1.128 MB / 1.251 GB, free: 9.289 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003836/0.4854, allocations: 2.52 MB / 1.254 GB, free: 6.699 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.4869, allocations: 0.9127 MB / 1.255 GB, free: 5.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/0.4875, allocations: 314.7 kB / 1.255 GB, free: 5.461 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.247e-05/0.4876, allocations: 36.67 kB / 1.255 GB, free: 5.426 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008601/0.4884, allocations: 0.516 MB / 1.256 GB, free: 4.887 MB / 1.014 GB Notification: Performance of pre-optimization done (n=85): time 2.425e-06/0.4884, allocations: 0 / 1.256 GB, free: 4.887 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.003173/0.4916, allocations: 1.259 MB / 1.257 GB, free: 3.605 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.592e-05/0.4917, allocations: 188.9 kB / 1.257 GB, free: 3.375 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007881/0.4925, allocations: 0.6449 MB / 1.258 GB, free: 2.727 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.722e-05/0.4926, allocations: 41.7 kB / 1.258 GB, free: 2.68 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/0.4929, allocations: 413.1 kB / 1.258 GB, free: 2.27 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.4931, allocations: 285.5 kB / 1.258 GB, free: 1.988 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.4934, allocations: 174.5 kB / 1.259 GB, free: 1.812 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4936, allocations: 390.7 kB / 1.259 GB, free: 1.422 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/0.4941, allocations: 277.8 kB / 1.259 GB, free: 1.152 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006306/0.4947, allocations: 387.9 kB / 1.26 GB, free: 0.75 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.4959, allocations: 0.6329 MB / 1.26 GB, free: 108 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4959, allocations: 3.938 kB / 1.26 GB, free: 104 kB / 1.014 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.6038/1.1, allocations: 0.8804 MB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/1.1, allocations: 9.094 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.1, allocations: 2.141 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006401/1.1, allocations: 91 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007445/1.101, allocations: 170.8 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/1.103, allocations: 1.62 MB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008903/1.104, allocations: 103.1 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/1.104, allocations: 39.36 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0004709/1.105, allocations: 274.2 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/1.105, allocations: 94.23 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/1.107, allocations: 1.14 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/1.108, allocations: 11.12 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/1.108, allocations: 0 / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/1.108, allocations: 9.688 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003757/1.111, allocations: 2.033 MB / 1.266 GB, free: 171.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.111, allocations: 0.75 kB / 1.266 GB, free: 171.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006581/1.112, allocations: 153 kB / 1.267 GB, free: 171.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004677/1.112, allocations: 74.41 kB / 1.267 GB, free: 171.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/1.113, allocations: 24.94 kB / 1.267 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/1.114, allocations: 1.658 MB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.114, allocations: 1.297 kB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/1.116, allocations: 1.054 MB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004299/1.117, allocations: 284.7 kB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/1.117, allocations: 19.64 kB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007165/1.118, allocations: 74.97 kB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/1.118, allocations: 73.86 kB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-05/1.118, allocations: 39.69 kB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006486/1.119, allocations: 463.9 kB / 1.27 GB, free: 168.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.119, allocations: 0 / 1.27 GB, free: 168.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001009/1.12, allocations: 330.2 kB / 1.271 GB, free: 168.5 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001374/1.121, allocations: 0.611 MB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001952/1.123, allocations: 0.8723 MB / 1.272 GB, free: 168 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/1.123, allocations: 0 / 1.272 GB, free: 168 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/1.124, allocations: 0.5421 MB / 1.273 GB, free: 167.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/1.126, allocations: 298.9 kB / 1.273 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/1.13, allocations: 1.848 MB / 1.275 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/1.131, allocations: 1.028 MB / 1.276 GB, free: 166 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009248/1.132, allocations: 276.4 kB / 1.276 GB, free: 165.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/1.132, allocations: 112.7 kB / 1.276 GB, free: 165.9 MB / 1.014 GB Notification: Performance of SimCode: time 6.71e-07/1.132, allocations: 1.406 kB / 1.276 GB, free: 165.9 MB / 1.014 GB Notification: Performance of Templates: time 0.03556/1.167, allocations: 15.41 MB / 1.291 GB, free: 162.4 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches