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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.0009613/0.0009612, allocations: 92.23 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.001165/0.001165, 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.38/1.38, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004357/0.0004358, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.783/0.7835, allocations: 142.3 MB / 0.9538 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004079/0.7876, allocations: 3.812 MB / 0.9576 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1509/0.9385, allocations: 136.8 MB / 1.091 GB, free: 3.125 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007108/0.9392, allocations: 15.88 kB / 1.091 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004706/0.9397, allocations: 134.9 kB / 1.091 GB, free: 2.977 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.9409, allocations: 425.9 kB / 1.092 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.9425, allocations: 0.64 MB / 1.092 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001091/0.9436, allocations: 1.156 MB / 1.093 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006309/0.9442, allocations: 491.3 kB / 1.094 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004626/0.9447, allocations: 350.4 kB / 1.094 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004162/0.9451, allocations: 378.1 kB / 1.095 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.094e-05/0.9452, allocations: 24 kB / 1.095 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006363/0.9458, allocations: 347.6 kB / 1.095 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.946, allocations: 187.1 kB / 1.095 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.9462, allocations: 201.1 kB / 1.095 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.9472, allocations: 1.177 MB / 1.097 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.9472, allocations: 0 / 1.097 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.512e-06/0.9473, allocations: 0 / 1.097 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.9473, allocations: 0 / 1.097 GB, free: 13.63 MB / 0.8575 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.00215/0.9494, allocations: 1.267 MB / 1.098 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.9495, allocations: 8.031 kB / 1.098 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001502/0.9496, allocations: 135.4 kB / 1.098 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007973/0.9504, allocations: 202.5 kB / 1.098 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.9514, allocations: 0.7194 MB / 1.099 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.328e-05/0.9515, allocations: 69.98 kB / 1.099 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.9516, allocations: 84 kB / 1.099 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.9531, allocations: 0.9457 MB / 1.1 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.9532, allocations: 7.953 kB / 1.1 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-05/0.9533, allocations: 36 kB / 1.1 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.9533, allocations: 20 kB / 1.1 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.955, allocations: 1.128 MB / 1.101 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003496/0.9585, allocations: 2.583 MB / 1.104 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.9599, allocations: 0.915 MB / 1.104 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/0.9604, allocations: 318.7 kB / 1.105 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.898e-05/0.9605, allocations: 28.62 kB / 1.105 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008351/0.9613, allocations: 0.5269 MB / 1.105 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=85): time 2.314e-06/0.9613, allocations: 3.938 kB / 1.105 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85): time 0.002821/0.9642, allocations: 1.261 MB / 1.107 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.808e-05/0.9643, allocations: 196.9 kB / 1.107 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007336/0.965, allocations: 0.6333 MB / 1.107 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/0.9651, allocations: 45.7 kB / 1.107 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.9654, allocations: 400.4 kB / 1.108 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.9656, allocations: 276.1 kB / 1.108 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.9656, allocations: 12 kB / 1.108 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.9658, allocations: 386.8 kB / 1.108 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/0.9662, allocations: 265.8 kB / 1.109 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005379/0.9668, allocations: 375.4 kB / 1.109 GB, free: 456 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000516/0.9673, allocations: 298.9 kB / 1.109 GB, free: 160 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9673, allocations: 0 / 1.109 GB, free: 160 kB / 0.8575 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001632/0.9689, allocations: 0.837 MB / 1.11 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.969, allocations: 8 kB / 1.11 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.969, allocations: 3.938 kB / 1.11 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005209/0.9695, allocations: 88.84 kB / 1.11 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006175/0.9701, allocations: 163.8 kB / 1.11 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.9719, allocations: 1.52 MB / 1.112 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00066/0.9726, allocations: 103.4 kB / 1.112 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-05/0.9727, allocations: 40.03 kB / 1.112 GB, free: 13.25 MB / 0.8731 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.0004374/0.9731, allocations: 273.4 kB / 1.112 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.9732, allocations: 82.97 kB / 1.112 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.9756, allocations: 1.152 MB / 1.113 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.9756, allocations: 16 kB / 1.113 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.9756, allocations: 0 / 1.113 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.9756, allocations: 7.969 kB / 1.113 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/0.9787, allocations: 2.036 MB / 1.115 GB, free: 9.602 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.9788, allocations: 0 / 1.115 GB, free: 9.602 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005999/0.9794, allocations: 155.8 kB / 1.116 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004489/0.9798, allocations: 88.78 kB / 1.116 GB, free: 9.359 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/0.9799, allocations: 27.97 kB / 1.116 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/0.9815, allocations: 1.551 MB / 1.117 GB, free: 7.645 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.9816, allocations: 0 / 1.117 GB, free: 7.645 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.9835, allocations: 1.047 MB / 1.118 GB, free: 6.578 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003963/0.9839, allocations: 299.5 kB / 1.119 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.984, allocations: 24 kB / 1.119 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006321/0.9847, allocations: 94.05 kB / 1.119 GB, free: 6.152 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.9848, allocations: 76.88 kB / 1.119 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.86e-05/0.9849, allocations: 35.98 kB / 1.119 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005562/0.9855, allocations: 463 kB / 1.119 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.9855, allocations: 0 / 1.119 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008919/0.9864, allocations: 311.3 kB / 1.119 GB, free: 5.285 MB / 0.8731 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.003307/0.9897, allocations: 2.104 MB / 1.122 GB, free: 3.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.9912, allocations: 0.8351 MB / 1.122 GB, free: 2.488 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.9913, allocations: 7.938 kB / 1.122 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008749/0.9921, allocations: 0.5511 MB / 1.123 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.9933, allocations: 256.1 kB / 1.123 GB, free: 1.676 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009661/1.003, allocations: 5.246 MB / 1.128 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005528/1.004, allocations: 1.043 MB / 1.129 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008452/1.004, allocations: 266.9 kB / 1.13 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005289/1.005, allocations: 395.3 kB / 1.13 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of SimCode: time 7.11e-07/1.005, allocations: 0 / 1.13 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04013/1.045, allocations: 21.77 MB / 1.151 GB, free: 5.227 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/1.045, allocations: 294.5 kB / 1.151 GB, free: 4.871 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.449/3.494, allocations: 4 kB / 1.151 GB, free: 4.867 MB / 0.9044 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat does not exist to compare? outputFormat=mat