Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_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.000922/0.0009219, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001147/0.001147, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.3 MB / 240 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.493/2.493, allocations: 409.4 MB / 0.684 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0002891/0.0002892, allocations: 8 kB / 0.8378 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6116/0.6119, allocations: 146.8 MB / 0.9811 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004329/0.6163, allocations: 3.813 MB / 0.9849 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1397/0.756, allocations: 136.8 MB / 1.118 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007736/0.7568, allocations: 15.94 kB / 1.118 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005063/0.7573, allocations: 130.9 kB / 1.119 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.7588, allocations: 436.9 kB / 1.119 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.7606, allocations: 0.6382 MB / 1.12 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001214/0.7618, allocations: 1.168 MB / 1.121 GB, free: 6.922 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006807/0.7625, allocations: 479.4 kB / 1.121 GB, free: 6.441 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000486/0.763, allocations: 346.5 kB / 1.122 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000464/0.7634, allocations: 386 kB / 1.122 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.784e-05/0.7635, allocations: 28 kB / 1.122 GB, free: 5.695 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008006/0.7643, allocations: 339.6 kB / 1.122 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.7646, allocations: 187.1 kB / 1.122 GB, free: 5.18 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.7647, allocations: 205.1 kB / 1.123 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.7659, allocations: 1.173 MB / 1.124 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.7659, allocations: 0 / 1.124 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.544e-06/0.7659, allocations: 0 / 1.124 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.7659, allocations: 0 / 1.124 GB, free: 3.797 MB / 0.8731 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.002191/0.7681, allocations: 1.257 MB / 1.125 GB, free: 2.488 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.7682, allocations: 12.03 kB / 1.125 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001523/0.7683, allocations: 135.4 kB / 1.125 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000797/0.7691, allocations: 206.4 kB / 1.125 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000976/0.7701, allocations: 0.7234 MB / 1.126 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-05/0.7702, allocations: 65.95 kB / 1.126 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.7703, allocations: 84 kB / 1.126 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.7718, allocations: 0.9418 MB / 1.127 GB, free: 244 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.7719, allocations: 7.875 kB / 1.127 GB, free: 236 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.936e-05/0.7719, allocations: 39.98 kB / 1.127 GB, free: 196 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.772, allocations: 24 kB / 1.127 GB, free: 172 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.7736, allocations: 1.128 MB / 1.128 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003614/0.7772, allocations: 2.592 MB / 1.131 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.7787, allocations: 0.9033 MB / 1.132 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004949/0.7792, allocations: 319.4 kB / 1.132 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.203e-05/0.7793, allocations: 42.56 kB / 1.132 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008289/0.7801, allocations: 0.5119 MB / 1.133 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=85): time 2.284e-06/0.7801, allocations: 0 / 1.133 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of matching and sorting (n=85): time 0.002834/0.783, allocations: 1.267 MB / 1.134 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.946e-05/0.7831, allocations: 192.9 kB / 1.134 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007477/0.7838, allocations: 0.6294 MB / 1.135 GB, free: 8.406 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.219e-05/0.7839, allocations: 41.7 kB / 1.135 GB, free: 8.359 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.7842, allocations: 404.4 kB / 1.135 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.7844, allocations: 272.1 kB / 1.135 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.7845, allocations: 16 kB / 1.135 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.7846, allocations: 390.8 kB / 1.136 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000457/0.7851, allocations: 253.9 kB / 1.136 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/0.7856, allocations: 379.4 kB / 1.136 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005049/0.7861, allocations: 302.8 kB / 1.137 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.7862, allocations: 4 kB / 1.137 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00163/0.7878, allocations: 0.8447 MB / 1.137 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.7878, allocations: 7.938 kB / 1.137 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.7878, allocations: 4 kB / 1.137 GB, free: 5.465 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005084/0.7884, allocations: 80.91 kB / 1.137 GB, free: 5.383 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006167/0.789, allocations: 167.7 kB / 1.138 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.7908, allocations: 1.528 MB / 1.139 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006308/0.7914, allocations: 103.4 kB / 1.139 GB, free: 3.449 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.853e-05/0.7915, allocations: 35.98 kB / 1.139 GB, free: 3.414 MB / 0.8887 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 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004181/0.7919, allocations: 263.2 kB / 1.14 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.792, allocations: 90.92 kB / 1.14 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.7943, allocations: 1.152 MB / 1.141 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.7943, allocations: 8 kB / 1.141 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.7943, allocations: 0 / 1.141 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.7943, allocations: 7.984 kB / 1.141 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003027/0.7974, allocations: 2.04 MB / 1.143 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.7974, allocations: 0 / 1.143 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005814/0.798, allocations: 159.8 kB / 1.143 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/0.7984, allocations: 84.77 kB / 1.143 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-05/0.7985, allocations: 35.92 kB / 1.143 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.8001, allocations: 1.536 MB / 1.144 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8001, allocations: 0 / 1.144 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.802, allocations: 1.055 MB / 1.146 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004705/0.8025, allocations: 291.8 kB / 1.146 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.8027, allocations: 27.98 kB / 1.146 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006861/0.8034, allocations: 91.91 kB / 1.146 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.8036, allocations: 72.89 kB / 1.146 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.291e-05/0.8037, allocations: 39.97 kB / 1.146 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006388/0.8043, allocations: 459 kB / 1.146 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.7e-07/0.8043, allocations: 4 kB / 1.146 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000989/0.8053, allocations: 323.2 kB / 1.147 GB, free: 11.45 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003438/0.8088, allocations: 2.089 MB / 1.149 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001639/0.8104, allocations: 0.839 MB / 1.15 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.8105, allocations: 4.25 kB / 1.15 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008878/0.8113, allocations: 0.547 MB / 1.15 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.8126, allocations: 268.2 kB / 1.15 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.823, allocations: 5.25 MB / 1.156 GB, free: 2.484 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007137/0.8238, allocations: 1.038 MB / 1.157 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009516/0.8247, allocations: 282.7 kB / 1.157 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006321/0.8254, allocations: 395.3 kB / 1.157 GB, free: 0.75 MB / 0.9044 GB Notification: Performance of SimCode: time 1.243e-06/0.8254, allocations: 4 kB / 1.157 GB, free: 0.7461 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2316/1.057, allocations: 21.75 MB / 1.178 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003159/1.057, allocations: 296.4 kB / 1.179 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/3.455, allocations: 0 / 1.179 GB, free: 11.05 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat does not exist to compare? outputFormat=mat