Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.00123/0.00123, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001356/0.001356, allocations: 177.3 kB / 15.95 MB, free: 216 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.449/1.449, allocations: 223.2 MB / 239.9 MB, free: 5.375 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.405/2.405, allocations: 390.3 MB / 0.6653 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003833, allocations: 11.98 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6823/0.6827, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.00411/0.6869, allocations: 3.767 MB / 0.9573 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1484/0.8353, allocations: 127.7 MB / 1.082 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000682/0.836, allocations: 11.94 kB / 1.082 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.8364, allocations: 87.19 kB / 1.082 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.8378, allocations: 0.4977 MB / 1.083 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.8395, allocations: 0.6646 MB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001305/0.8408, allocations: 0.8611 MB / 1.084 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007431/0.8415, allocations: 495.3 kB / 1.084 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005538/0.8421, allocations: 370.5 kB / 1.085 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004675/0.8426, allocations: 366.1 kB / 1.085 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.666e-05/0.8427, allocations: 28 kB / 1.085 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008191/0.8435, allocations: 339.6 kB / 1.086 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.8437, allocations: 191.2 kB / 1.086 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.8439, allocations: 213 kB / 1.086 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.8452, allocations: 1.219 MB / 1.087 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.8452, allocations: 0 / 1.087 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8452, allocations: 0 / 1.087 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.805e-05/0.8452, allocations: 0 / 1.087 GB, free: 7.09 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002537/0.8478, allocations: 1.277 MB / 1.088 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.8478, allocations: 8.031 kB / 1.088 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002032/0.848, allocations: 143.6 kB / 1.089 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009243/0.8489, allocations: 202.4 kB / 1.089 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.8501, allocations: 0.731 MB / 1.089 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.176e-05/0.8502, allocations: 66 kB / 1.089 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.8503, allocations: 92 kB / 1.09 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.8519, allocations: 0.973 MB / 1.091 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.8519, allocations: 3.953 kB / 1.091 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.371e-05/0.852, allocations: 36 kB / 1.091 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.852, allocations: 24 kB / 1.091 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.8539, allocations: 1.163 MB / 1.092 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004514/0.8584, allocations: 2.74 MB / 1.094 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.8604, allocations: 0.9806 MB / 1.095 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-05/0.8605, allocations: 36.67 kB / 1.095 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008979/0.8614, allocations: 0.5354 MB / 1.096 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=88): time 2.786e-06/0.8614, allocations: 4 kB / 1.096 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=88): time 0.003076/0.8645, allocations: 1.299 MB / 1.097 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.8646, allocations: 192.9 kB / 1.097 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000828/0.8654, allocations: 0.6451 MB / 1.098 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.317e-05/0.8655, allocations: 41.7 kB / 1.098 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003609/0.8659, allocations: 408.5 kB / 1.098 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.8662, allocations: 283.9 kB / 1.099 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.8662, allocations: 12 kB / 1.099 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002321/0.8665, allocations: 386.8 kB / 1.099 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005383/0.867, allocations: 273.8 kB / 1.099 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006869/0.8677, allocations: 378.5 kB / 1.1 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006827/0.8684, allocations: 318.8 kB / 1.1 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.8684, allocations: 0 / 1.1 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002062/0.8705, allocations: 0.8683 MB / 1.101 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.8705, allocations: 7.953 kB / 1.101 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.8705, allocations: 0 / 1.101 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005778/0.8711, allocations: 88.78 kB / 1.101 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006912/0.8718, allocations: 175.7 kB / 1.101 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002876/0.8747, allocations: 1.524 MB / 1.103 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.8757, allocations: 111.2 kB / 1.103 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.24e-05/0.8758, allocations: 36.03 kB / 1.103 GB, free: 6.559 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 ($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,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0006007/0.8764, allocations: 271.4 kB / 1.103 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.8766, allocations: 90.92 kB / 1.103 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002917/0.8795, allocations: 1.211 MB / 1.104 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.8795, allocations: 12 kB / 1.104 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.8795, allocations: 4 kB / 1.104 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.8796, allocations: 7.969 kB / 1.104 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003662/0.8832, allocations: 2.107 MB / 1.106 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.8833, allocations: 0 / 1.106 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006563/0.8839, allocations: 175.8 kB / 1.107 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005487/0.8845, allocations: 80.78 kB / 1.107 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-05/0.8845, allocations: 35.86 kB / 1.107 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.8864, allocations: 1.556 MB / 1.108 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8865, allocations: 0 / 1.108 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.8888, allocations: 1.097 MB / 1.109 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005284/0.8893, allocations: 303.5 kB / 1.11 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.8895, allocations: 20 kB / 1.11 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007756/0.8903, allocations: 91.92 kB / 1.11 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.8904, allocations: 76.88 kB / 1.11 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.948e-05/0.8905, allocations: 43.97 kB / 1.11 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006538/0.8912, allocations: 471 kB / 1.11 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8912, allocations: 4 kB / 1.11 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00099/0.8922, allocations: 331.2 kB / 1.11 GB, free: 14.35 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 (106): * Single equations (assignments): 99 * 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.003806/0.896, allocations: 2.146 MB / 1.113 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.898, allocations: 0.8703 MB / 1.113 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.8981, allocations: 4.188 kB / 1.113 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.8991, allocations: 0.5626 MB / 1.114 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.9003, allocations: 246.2 kB / 1.114 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.9117, allocations: 5.797 MB / 1.12 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009573/0.9127, allocations: 1.071 MB / 1.121 GB, free: 3.641 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00105/0.9138, allocations: 271.1 kB / 1.121 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007046/0.9145, allocations: 415.2 kB / 1.122 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of SimCode: time 9.22e-07/0.9145, allocations: 0 / 1.122 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05555/0.9701, allocations: 22.35 MB / 1.143 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003374/0.9705, allocations: 292 kB / 1.144 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.364, allocations: 0 / 1.144 GB, free: 12.65 MB / 0.9044 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat does not exist to compare? outputFormat=mat