Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.001025/0.001025, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001296/0.001296, allocations: 168.7 kB / 15.95 MB, free: 204 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.404/1.404, allocations: 223.3 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.575/2.575, allocations: 409.4 MB / 0.684 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003128, allocations: 8 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.805/0.8054, allocations: 146.8 MB / 0.9811 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005016/0.8104, allocations: 3.703 MB / 0.9847 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1486/0.9591, allocations: 136.8 MB / 1.118 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.9602, allocations: 11.94 kB / 1.118 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008099/0.961, allocations: 134.9 kB / 1.118 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.9631, allocations: 415.9 kB / 1.119 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.9652, allocations: 0.6223 MB / 1.119 GB, free: 8.18 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001392/0.9666, allocations: 1.113 MB / 1.121 GB, free: 7.062 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006734/0.9673, allocations: 487.3 kB / 1.121 GB, free: 6.574 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004634/0.9678, allocations: 334.5 kB / 1.121 GB, free: 6.246 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004075/0.9682, allocations: 351.2 kB / 1.122 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.984e-05/0.9683, allocations: 24 kB / 1.122 GB, free: 5.879 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007798/0.969, allocations: 339.6 kB / 1.122 GB, free: 5.547 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.9692, allocations: 179.2 kB / 1.122 GB, free: 5.371 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.9694, allocations: 193.1 kB / 1.122 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.9706, allocations: 1.173 MB / 1.123 GB, free: 4 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.9706, allocations: 0 / 1.123 GB, free: 4 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9706, allocations: 0 / 1.123 GB, free: 4 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.9706, allocations: 0 / 1.123 GB, free: 4 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.001971/0.9726, allocations: 1.212 MB / 1.125 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.9726, allocations: 12.03 kB / 1.125 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.9728, allocations: 135.1 kB / 1.125 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008037/0.9736, allocations: 198.5 kB / 1.125 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009169/0.9745, allocations: 0.7108 MB / 1.126 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/0.9746, allocations: 69.95 kB / 1.126 GB, free: 1.57 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.644e-05/0.9747, allocations: 80 kB / 1.126 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.9761, allocations: 0.9183 MB / 1.127 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.9761, allocations: 0 / 1.127 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.509e-05/0.9762, allocations: 39.98 kB / 1.127 GB, free: 0.4922 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.9762, allocations: 20 kB / 1.127 GB, free: 484 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/0.9778, allocations: 1.108 MB / 1.128 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003591/0.9814, allocations: 2.564 MB / 1.13 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.9828, allocations: 0.8832 MB / 1.131 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004819/0.9833, allocations: 306.7 kB / 1.132 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.122e-05/0.9834, allocations: 36.59 kB / 1.132 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007452/0.9841, allocations: 499.1 kB / 1.132 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=79): time 2.074e-06/0.9841, allocations: 0 / 1.132 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of matching and sorting (n=79): time 0.002614/0.9867, allocations: 1.199 MB / 1.133 GB, free: 9.758 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.547e-05/0.9868, allocations: 196.5 kB / 1.133 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006974/0.9875, allocations: 0.6175 MB / 1.134 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/0.9876, allocations: 45.69 kB / 1.134 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.9879, allocations: 388.4 kB / 1.134 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.9881, allocations: 264.3 kB / 1.135 GB, free: 8.195 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.9881, allocations: 16 kB / 1.135 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.9883, allocations: 382.8 kB / 1.135 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.9887, allocations: 241.9 kB / 1.135 GB, free: 7.562 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005154/0.9892, allocations: 358.6 kB / 1.136 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005034/0.9898, allocations: 294.9 kB / 1.136 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.9898, allocations: 4 kB / 1.136 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001565/0.9913, allocations: 0.798 MB / 1.137 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.9914, allocations: 11.95 kB / 1.137 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.9914, allocations: 0 / 1.137 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005069/0.9919, allocations: 88.8 kB / 1.137 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/0.9925, allocations: 151.8 kB / 1.137 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/0.9942, allocations: 1.543 MB / 1.138 GB, free: 4.152 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005815/0.9948, allocations: 100.8 kB / 1.139 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.9949, allocations: 27.98 kB / 1.139 GB, free: 4.027 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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 (85): * Single equations (assignments): 84 * 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.0004054/0.9953, allocations: 265.7 kB / 1.139 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.9954, allocations: 82.92 kB / 1.139 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.9976, allocations: 1.081 MB / 1.14 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.9976, allocations: 15.92 kB / 1.14 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.9976, allocations: 0 / 1.14 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.9976, allocations: 3.984 kB / 1.14 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/1, allocations: 1.957 MB / 1.142 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1, allocations: 0 / 1.142 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/1.001, allocations: 143.8 kB / 1.142 GB, free: 408 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004596/1.001, allocations: 80.78 kB / 1.142 GB, free: 324 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.749e-05/1.002, allocations: 31.92 kB / 1.142 GB, free: 292 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/1.003, allocations: 1.563 MB / 1.144 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.003, allocations: 0 / 1.144 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/1.005, allocations: 0.996 MB / 1.145 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004805/1.005, allocations: 287.7 kB / 1.145 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/1.006, allocations: 23.98 kB / 1.145 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006475/1.006, allocations: 79.94 kB / 1.145 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/1.006, allocations: 69.03 kB / 1.145 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.663e-05/1.007, allocations: 35.98 kB / 1.145 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006753/1.007, allocations: 447 kB / 1.146 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.9e-07/1.007, allocations: 0 / 1.146 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009194/1.008, allocations: 307.2 kB / 1.146 GB, free: 12.33 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003217/1.011, allocations: 2.042 MB / 1.148 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001513/1.013, allocations: 0.8079 MB / 1.149 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.013, allocations: 0 / 1.149 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008313/1.014, allocations: 0.5158 MB / 1.149 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/1.015, allocations: 254.8 kB / 1.149 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009687/1.025, allocations: 5.064 MB / 1.154 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005413/1.025, allocations: 1.023 MB / 1.155 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008325/1.026, allocations: 266.5 kB / 1.156 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000498/1.027, allocations: 375.2 kB / 1.156 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of SimCode: time 9.22e-07/1.027, allocations: 0 / 1.156 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2927/1.319, allocations: 21.06 MB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002697/1.32, allocations: 278.8 kB / 1.177 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.85/4.17, allocations: 4 kB / 1.177 GB, free: 13.02 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat does not exist to compare? outputFormat=mat