Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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 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.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.0008325/0.0008325, allocations: 91.69 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.0008411/0.0008414, 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.372/1.372, allocations: 223.3 MB / 240 MB, free: 5.441 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.362/2.362, allocations: 390.4 MB / 0.6655 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003305, allocations: 8 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7622/0.7625, allocations: 142.3 MB / 0.9539 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004631/0.7672, allocations: 3.796 MB / 0.9576 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1501/0.9174, allocations: 136.8 MB / 1.091 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006591/0.9181, allocations: 11.94 kB / 1.091 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004361/0.9185, allocations: 134.9 kB / 1.091 GB, free: 3.117 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.9198, allocations: 428.4 kB / 1.092 GB, free: 2.699 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.9215, allocations: 0.6411 MB / 1.092 GB, free: 2.066 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.9227, allocations: 1.156 MB / 1.093 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006751/0.9234, allocations: 487.3 kB / 1.094 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004676/0.9238, allocations: 346.5 kB / 1.094 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004495/0.9243, allocations: 378.1 kB / 1.095 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.915e-05/0.9244, allocations: 28 kB / 1.095 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006598/0.925, allocations: 331.7 kB / 1.095 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.9253, allocations: 195.1 kB / 1.095 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.9254, allocations: 197.1 kB / 1.095 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.9265, allocations: 1.181 MB / 1.096 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.9265, allocations: 0 / 1.096 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9265, allocations: 0 / 1.096 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.9265, allocations: 4 kB / 1.096 GB, free: 13.77 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002153/0.9287, allocations: 1.245 MB / 1.098 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.9288, allocations: 12.03 kB / 1.098 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.9289, allocations: 135.3 kB / 1.098 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008151/0.9297, allocations: 198.5 kB / 1.098 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.9308, allocations: 0.7271 MB / 1.099 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.381e-05/0.9309, allocations: 66 kB / 1.099 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.931, allocations: 80 kB / 1.099 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.9325, allocations: 0.934 MB / 1.1 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.9325, allocations: 7.953 kB / 1.1 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.217e-05/0.9326, allocations: 36 kB / 1.1 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.9326, allocations: 23.98 kB / 1.1 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.9344, allocations: 1.128 MB / 1.101 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003716/0.9381, allocations: 2.574 MB / 1.103 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.9396, allocations: 0.9188 MB / 1.104 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005242/0.9401, allocations: 310.7 kB / 1.105 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.042e-05/0.9402, allocations: 36.56 kB / 1.105 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008607/0.9411, allocations: 0.512 MB / 1.105 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=84): time 2.034e-06/0.9411, allocations: 0 / 1.105 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of matching and sorting (n=84): time 0.002867/0.944, allocations: 1.26 MB / 1.106 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.9441, allocations: 188.9 kB / 1.107 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007504/0.9448, allocations: 0.6371 MB / 1.107 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/0.9449, allocations: 49.69 kB / 1.107 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.9452, allocations: 392.5 kB / 1.108 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.9454, allocations: 272 kB / 1.108 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.9455, allocations: 16 kB / 1.108 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.9456, allocations: 390.7 kB / 1.108 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/0.9461, allocations: 257.9 kB / 1.109 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005565/0.9467, allocations: 374.5 kB / 1.109 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005304/0.9472, allocations: 298.9 kB / 1.109 GB, free: 376 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.9472, allocations: 0 / 1.109 GB, free: 376 kB / 0.8575 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00178/0.949, allocations: 0.8294 MB / 1.11 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.9491, allocations: 4 kB / 1.11 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.9491, allocations: 4 kB / 1.11 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005342/0.9496, allocations: 84.86 kB / 1.11 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006408/0.9503, allocations: 163.5 kB / 1.11 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.9522, allocations: 1.524 MB / 1.112 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007164/0.9529, allocations: 95.39 kB / 1.112 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.245e-05/0.953, allocations: 39.97 kB / 1.112 GB, free: 13.48 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (91): * Single equations (assignments): 90 * 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.0004273/0.9534, allocations: 265.4 kB / 1.112 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.9535, allocations: 86.95 kB / 1.112 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/0.9559, allocations: 1.155 MB / 1.113 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.9559, allocations: 16 kB / 1.113 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.9559, allocations: 0 / 1.113 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.956, allocations: 3.984 kB / 1.113 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003126/0.9591, allocations: 2.028 MB / 1.115 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.9591, allocations: 0 / 1.115 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006079/0.9597, allocations: 155.8 kB / 1.115 GB, free: 9.695 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004653/0.9602, allocations: 84.78 kB / 1.116 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.944e-05/0.9603, allocations: 27.97 kB / 1.116 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/0.962, allocations: 1.548 MB / 1.117 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.962, allocations: 0 / 1.117 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.9639, allocations: 1.051 MB / 1.118 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004133/0.9644, allocations: 299.5 kB / 1.118 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.9645, allocations: 20 kB / 1.118 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006397/0.9652, allocations: 84.53 kB / 1.119 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.9653, allocations: 81.02 kB / 1.119 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.275e-05/0.9654, allocations: 35.97 kB / 1.119 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005758/0.966, allocations: 463 kB / 1.119 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.966, allocations: 0 / 1.119 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008258/0.9668, allocations: 311.4 kB / 1.119 GB, free: 5.535 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 (99): * Single equations (assignments): 92 * 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.003258/0.9701, allocations: 2.097 MB / 1.121 GB, free: 3.598 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001568/0.9717, allocations: 0.835 MB / 1.122 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9717, allocations: 0 / 1.122 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008951/0.9726, allocations: 0.5433 MB / 1.123 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.9738, allocations: 272.2 kB / 1.123 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.9839, allocations: 5.237 MB / 1.128 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/0.9845, allocations: 1.036 MB / 1.129 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008997/0.9854, allocations: 270.8 kB / 1.129 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005582/0.986, allocations: 403.3 kB / 1.13 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of SimCode: time 7.82e-07/0.986, allocations: 3.938 kB / 1.13 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04095/1.027, allocations: 21.72 MB / 1.151 GB, free: 5.539 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/1.027, allocations: 291.5 kB / 1.151 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.506/3.533, allocations: 0 / 1.151 GB, free: 5.18 MB / 0.9044 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat does not exist to compare? outputFormat=mat