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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006957/0.006957, allocations: 100.7 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.001755/0.001755, allocations: 190 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.204/2.204, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 66.92 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2244, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005843/0.2303, allocations: 4.439 MB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1401/0.3704, allocations: 150.6 MB / 1.239 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000694/0.3712, allocations: 15.94 kB / 1.239 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006091/0.3718, allocations: 170.3 kB / 1.239 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.3735, allocations: 0.5181 MB / 1.24 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.3754, allocations: 0.8481 MB / 1.24 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001437/0.3769, allocations: 1.351 MB / 1.242 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008877/0.3778, allocations: 0.626 MB / 1.242 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006573/0.3785, allocations: 498.2 kB / 1.243 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006729/0.3791, allocations: 0.5074 MB / 1.243 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002083/0.3794, allocations: 116 kB / 1.243 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000831/0.3802, allocations: 495.6 kB / 1.244 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003028/0.3805, allocations: 303 kB / 1.244 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005532/0.3811, allocations: 0.5635 MB / 1.245 GB, free: 380 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.3829, allocations: 1.648 MB / 1.246 GB, free: 14.72 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3829, allocations: 0 / 1.246 GB, free: 14.72 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3829, allocations: 0 / 1.246 GB, free: 14.72 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.18e-05/0.3829, allocations: 0 / 1.246 GB, free: 14.72 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.002766/0.3857, allocations: 1.46 MB / 1.248 GB, free: 13.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3858, allocations: 12.03 kB / 1.248 GB, free: 13.19 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/0.3859, allocations: 143.6 kB / 1.248 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009049/0.3868, allocations: 183.3 kB / 1.248 GB, free: 12.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.388, allocations: 0.774 MB / 1.249 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.5e-05/0.3881, allocations: 69.94 kB / 1.249 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.3882, allocations: 88 kB / 1.249 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.3897, allocations: 0.9457 MB / 1.25 GB, free: 10.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.3897, allocations: 0 / 1.25 GB, free: 10.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.099e-05/0.3898, allocations: 36 kB / 1.25 GB, free: 10.87 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.3899, allocations: 24 kB / 1.25 GB, free: 10.85 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.3916, allocations: 1.128 MB / 1.251 GB, free: 9.719 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003568/0.3951, allocations: 2.519 MB / 1.253 GB, free: 7.129 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.3966, allocations: 0.9083 MB / 1.254 GB, free: 6.203 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005367/0.3972, allocations: 318.7 kB / 1.255 GB, free: 5.891 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.271e-05/0.3973, allocations: 36.67 kB / 1.255 GB, free: 5.855 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008176/0.3981, allocations: 0.512 MB / 1.255 GB, free: 5.32 MB / 1.014 GB Notification: Performance of pre-optimization done (n=85): time 2.385e-06/0.3981, allocations: 0 / 1.255 GB, free: 5.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.003103/0.4012, allocations: 1.247 MB / 1.256 GB, free: 4.051 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.415e-05/0.4013, allocations: 200.8 kB / 1.257 GB, free: 3.809 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006986/0.402, allocations: 0.6449 MB / 1.257 GB, free: 3.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.515e-05/0.4021, allocations: 45.7 kB / 1.257 GB, free: 3.109 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/0.4024, allocations: 404.3 kB / 1.258 GB, free: 2.707 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.4026, allocations: 268.1 kB / 1.258 GB, free: 2.441 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.4028, allocations: 162.5 kB / 1.258 GB, free: 2.277 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4029, allocations: 382.8 kB / 1.258 GB, free: 1.895 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/0.4034, allocations: 257.9 kB / 1.259 GB, free: 1.645 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006025/0.4041, allocations: 379.5 kB / 1.259 GB, free: 1.238 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.4051, allocations: 0.6094 MB / 1.26 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.4051, allocations: 3.984 kB / 1.26 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.4281/0.8333, allocations: 0.8288 MB / 1.26 GB, free: 173.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.8333, allocations: 9.156 kB / 1.26 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.8333, allocations: 2.922 kB / 1.26 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005857/0.8339, allocations: 82.48 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007075/0.8347, allocations: 160.8 kB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.8364, allocations: 1.63 MB / 1.262 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007129/0.8371, allocations: 89.3 kB / 1.262 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/0.8372, allocations: 36.27 kB / 1.262 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: 18 (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 (93): * Single equations (assignments): 92 * 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.0003892/0.8376, allocations: 275 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.8377, allocations: 89.36 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.8402, allocations: 1.137 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.8402, allocations: 10.09 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.8402, allocations: 1.812 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.8402, allocations: 4.547 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/0.8435, allocations: 2.035 MB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.8435, allocations: 3.922 kB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/0.8441, allocations: 154.2 kB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004188/0.8446, allocations: 71.88 kB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.697e-05/0.8446, allocations: 27 kB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.8461, allocations: 1.662 MB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8461, allocations: 5 kB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.8481, allocations: 1.056 MB / 1.269 GB, free: 169.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003295/0.8484, allocations: 285 kB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.8485, allocations: 23.5 kB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000659/0.8492, allocations: 66.81 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.8494, allocations: 82.83 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.378e-05/0.8495, allocations: 37.59 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005394/0.85, allocations: 463.5 kB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/0.85, allocations: 0 / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000836/0.8509, allocations: 326.2 kB / 1.27 GB, free: 168.7 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.003347/0.8542, allocations: 2.091 MB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001723/0.856, allocations: 0.8385 MB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.856, allocations: 0.5938 kB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.857, allocations: 0.5429 MB / 1.273 GB, free: 167.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.8582, allocations: 299.1 kB / 1.274 GB, free: 166.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.8685, allocations: 6.51 MB / 1.28 GB, free: 163.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.869, allocations: 1.037 MB / 1.281 GB, free: 163 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007554/0.8698, allocations: 267.1 kB / 1.281 GB, free: 162.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004663/0.8702, allocations: 402.6 kB / 1.282 GB, free: 162.6 MB / 1.014 GB Notification: Performance of SimCode: time 5.21e-07/0.8702, allocations: 0 / 1.282 GB, free: 162.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04234/0.9126, allocations: 21.9 MB / 1.303 GB, free: 155.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.7, allocations: 11.17 kB / 1.303 GB, free: 155.4 MB / 1.014 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv","/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) "Warning: Resultfile and Reference have different end time points! Reffile[501]=86400.000000 File[27]=1002.240000 " Variables in the reference:time,altAng.alt Variables in the result:time,altAng.alt,decAng.calTimAux,decAng.decAng,decAng.modTimAux,solHouAng.solHouAng