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.00142/0.00142, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001231/0.001231, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.473/1.473, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.324/2.324, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 59.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7393/0.7407, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006027/0.7467, allocations: 4.442 MB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1719/0.9187, allocations: 150.6 MB / 1.24 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.9198, allocations: 15.12 kB / 1.24 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005671/0.9203, allocations: 180.8 kB / 1.24 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.9221, allocations: 0.528 MB / 1.241 GB, free: 336 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.9241, allocations: 0.8391 MB / 1.242 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001291/0.9254, allocations: 1.358 MB / 1.243 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008382/0.9262, allocations: 0.6176 MB / 1.243 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000681/0.9269, allocations: 0.4927 MB / 1.244 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006002/0.9275, allocations: 0.5063 MB / 1.244 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.9277, allocations: 117.2 kB / 1.245 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008929/0.9286, allocations: 491.3 kB / 1.245 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002546/0.9289, allocations: 307 kB / 1.245 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004716/0.9294, allocations: 0.5596 MB / 1.246 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.9311, allocations: 1.641 MB / 1.247 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.9312, allocations: 0 / 1.247 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9312, allocations: 4 kB / 1.247 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.717e-05/0.9312, allocations: 4 kB / 1.247 GB, free: 11.05 MB / 0.9825 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.002429/0.9336, allocations: 1.452 MB / 1.249 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.9337, allocations: 12.03 kB / 1.249 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008789/0.9346, allocations: 191.4 kB / 1.249 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.9357, allocations: 0.7741 MB / 1.25 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/0.9357, allocations: 62 kB / 1.25 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.9358, allocations: 84 kB / 1.25 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.9374, allocations: 0.9496 MB / 1.251 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.9374, allocations: 0 / 1.251 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.094e-05/0.9375, allocations: 36 kB / 1.251 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.9375, allocations: 20 kB / 1.251 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.9393, allocations: 1.136 MB / 1.252 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003588/0.9429, allocations: 2.52 MB / 1.255 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.9444, allocations: 0.9122 MB / 1.255 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005387/0.945, allocations: 310.7 kB / 1.256 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.077e-05/0.9451, allocations: 32.69 kB / 1.256 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008627/0.946, allocations: 0.5236 MB / 1.256 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 2.054e-06/0.946, allocations: 0 / 1.256 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.00319/0.9492, allocations: 1.255 MB / 1.257 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.479e-05/0.9493, allocations: 188.9 kB / 1.258 GB, free: 304 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007576/0.95, allocations: 0.6409 MB / 1.258 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.485e-05/0.9501, allocations: 49.64 kB / 1.258 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.9504, allocations: 400.5 kB / 1.259 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.9506, allocations: 280 kB / 1.259 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.9509, allocations: 170.5 kB / 1.259 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.9511, allocations: 390.8 kB / 1.259 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005527/0.9516, allocations: 277.8 kB / 1.26 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/0.9523, allocations: 380 kB / 1.26 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.9534, allocations: 0.6368 MB / 1.261 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.9534, allocations: 0 / 1.261 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00197/0.9554, allocations: 0.8877 MB / 1.262 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.9554, allocations: 7.938 kB / 1.262 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.9554, allocations: 8.125 kB / 1.262 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005606/0.956, allocations: 76.78 kB / 1.262 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006765/0.9567, allocations: 175.7 kB / 1.262 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.9588, allocations: 1.625 MB / 1.263 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007759/0.9596, allocations: 102.1 kB / 1.264 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-05/0.9596, allocations: 35.97 kB / 1.264 GB, free: 9.977 MB / 0.9981 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.000474/0.9601, allocations: 279.7 kB / 1.264 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.9603, allocations: 82.97 kB / 1.264 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/0.9627, allocations: 1.144 MB / 1.265 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.9628, allocations: 8 kB / 1.265 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.9628, allocations: 0 / 1.265 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.9628, allocations: 11.97 kB / 1.265 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/0.9661, allocations: 2.022 MB / 1.267 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.9661, allocations: 4 kB / 1.267 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006111/0.9667, allocations: 151.8 kB / 1.267 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000432/0.9671, allocations: 80.72 kB / 1.267 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.935e-05/0.9672, allocations: 23.98 kB / 1.267 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.969, allocations: 1.662 MB / 1.269 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9691, allocations: 0 / 1.269 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.9712, allocations: 1.049 MB / 1.27 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003861/0.9716, allocations: 279.6 kB / 1.27 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.9717, allocations: 24 kB / 1.27 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006619/0.9724, allocations: 75.92 kB / 1.27 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.9725, allocations: 76.89 kB / 1.27 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.347e-05/0.9726, allocations: 39.97 kB / 1.27 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000572/0.9732, allocations: 463 kB / 1.271 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.91e-07/0.9732, allocations: 0 / 1.271 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008861/0.9741, allocations: 327.2 kB / 1.271 GB, free: 1.941 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: 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.001389/0.9755, allocations: 0.5999 MB / 1.272 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001746/0.9772, allocations: 0.8744 MB / 1.273 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.9773, allocations: 0 / 1.273 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009436/0.9782, allocations: 0.547 MB / 1.273 GB, free: 68 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.9795, allocations: 290.8 kB / 1.273 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.9834, allocations: 1.839 MB / 1.275 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005774/0.984, allocations: 1.04 MB / 1.276 GB, free: 12.87 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/0.9844, allocations: 119.4 kB / 1.276 GB, free: 12.75 MB / 1.014 GB Notification: Performance of SimCode: time 7.81e-07/0.9844, allocations: 0 / 1.276 GB, free: 12.75 MB / 1.014 GB Notification: Performance of Templates: time 0.02343/1.008, allocations: 18.94 MB / 1.295 GB, free: 9.863 MB / 1.029 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/jenkins1/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