Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_EnergyPlus_9_6_0_Validation_OutputVariable_OneEnvironmentOutputVariable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_EnergyPlus_9_6_0_Validation_OutputVariable_OneEnvironmentOutputVariable",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.001145/0.001144, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001202, allocations: 191.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.596/2.596, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.8 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2901, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable): time 0.007414/0.2976, allocations: 5.839 MB / 1.059 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1363/0.4339, allocations: 150.2 MB / 1.205 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007455/0.4347, allocations: 19.88 kB / 1.205 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007075/0.4354, allocations: 241.9 kB / 1.206 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.4372, allocations: 0.5852 MB / 1.206 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.4391, allocations: 0.8628 MB / 1.207 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00155/0.4407, allocations: 1.554 MB / 1.208 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008954/0.4416, allocations: 0.6415 MB / 1.209 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006824/0.4422, allocations: 0.5139 MB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007026/0.443, allocations: 0.5406 MB / 1.21 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002381/0.4432, allocations: 152 kB / 1.21 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008395/0.4441, allocations: 0.5035 MB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.4444, allocations: 339 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006118/0.445, allocations: 0.622 MB / 1.212 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.4469, allocations: 1.971 MB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.4469, allocations: 4 kB / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4469, allocations: 0 / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.82e-05/0.4469, allocations: 0 / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002873/0.4498, allocations: 1.533 MB / 1.215 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4499, allocations: 12.03 kB / 1.215 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001904/0.4501, allocations: 135.2 kB / 1.215 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007352/0.4508, allocations: 171.4 kB / 1.215 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.452, allocations: 0.887 MB / 1.216 GB, free: 144 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.4521, allocations: 61.94 kB / 1.216 GB, free: 84 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.4522, allocations: 87.98 kB / 1.216 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.4537, allocations: 0.9668 MB / 1.217 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.4537, allocations: 3.984 kB / 1.217 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-05/0.4538, allocations: 32 kB / 1.217 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.4538, allocations: 20 kB / 1.217 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.4556, allocations: 1.155 MB / 1.219 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003872/0.4594, allocations: 3.107 MB / 1.222 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.461, allocations: 0.8997 MB / 1.222 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005457/0.4616, allocations: 336.1 kB / 1.223 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.847e-05/0.4616, allocations: 28.52 kB / 1.223 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009277/0.4626, allocations: 0.5375 MB / 1.223 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=81): time 3.627e-06/0.4626, allocations: 0 / 1.223 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=81): time 0.002113/0.4647, allocations: 1.127 MB / 1.224 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.4648, allocations: 277.6 kB / 1.225 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009134/0.4658, allocations: 0.7274 MB / 1.225 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/0.4658, allocations: 45.7 kB / 1.225 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.4662, allocations: 408.5 kB / 1.226 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.4664, allocations: 260.3 kB / 1.226 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.4667, allocations: 158.7 kB / 1.226 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4668, allocations: 394.7 kB / 1.227 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.4673, allocations: 282 kB / 1.227 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006228/0.4679, allocations: 408 kB / 1.227 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.4691, allocations: 0.6958 MB / 1.228 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.4691, allocations: 4 kB / 1.228 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001587/0.4707, allocations: 0.854 MB / 1.229 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.303e-05/0.4708, allocations: 29.7 kB / 1.229 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.4708, allocations: 0 / 1.229 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.471, allocations: 58.48 kB / 1.229 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/0.4716, allocations: 151.9 kB / 1.229 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003646/0.4719, allocations: 0.5813 MB / 1.23 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006334/0.4726, allocations: 89.05 kB / 1.23 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.523e-05/0.4727, allocations: 31.98 kB / 1.23 GB, free: 1.938 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 22 (building.weaDat.decAng.tNext,$PRE.building.weaDat.decAng.tNext,building.weaDat.eqnTim.tNext,$PRE.building.weaDat.eqnTim.tNext,building.weaDat.conTim.tNext,$PRE.building.weaDat.conTim.tNext,building.weaDat.conTimMin.tNext,$PRE.building.weaDat.conTimMin.tNext,building.weaDat.locTim.tNext,$PRE.building.weaDat.locTim.tNext,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,TEnePlu.nObj,TEnePlu.tNext,$PRE.TEnePlu.tNext,TEnePlu.yEP[2],TEnePlu.yEP[1],TEnePlu.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004632/0.4731, allocations: 345.6 kB / 1.23 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.4733, allocations: 90.88 kB / 1.23 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.4752, allocations: 1.003 MB / 1.231 GB, free: 496 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.4752, allocations: 8 kB / 1.231 GB, free: 488 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4752, allocations: 0 / 1.231 GB, free: 488 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.4753, allocations: 8.078 kB / 1.231 GB, free: 480 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.4763, allocations: 1.024 MB / 1.232 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.4763, allocations: 4 kB / 1.232 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.4769, allocations: 139.8 kB / 1.232 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.4769, allocations: 4 kB / 1.232 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.477, allocations: 23.98 kB / 1.232 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.477, allocations: 4 kB / 1.232 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.477, allocations: 3.938 kB / 1.232 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.4785, allocations: 0.9791 MB / 1.233 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004099/0.479, allocations: 307.6 kB / 1.234 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.4791, allocations: 24 kB / 1.234 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006042/0.4797, allocations: 67.92 kB / 1.234 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.4799, allocations: 64.91 kB / 1.234 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.824e-05/0.48, allocations: 43.91 kB / 1.234 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006008/0.4806, allocations: 0.5107 MB / 1.234 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.3e-07/0.4806, allocations: 0 / 1.234 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007701/0.4813, allocations: 315.2 kB / 1.235 GB, free: 12.87 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,building.weaDat.locTim.tNext,building.weaDat.conTimMin.tNext,building.weaDat.conTim.tNext,building.weaDat.eqnTim.tNext,building.weaDat.decAng.tNext,$whenCondition1,TEnePlu.y,TEnePlu.yEP[1],TEnePlu.yEP[2],TEnePlu.tNext) * Number of discrete states: 6 (TEnePlu.tNext,building.weaDat.locTim.tNext,building.weaDat.conTimMin.tNext,building.weaDat.conTim.tNext,building.weaDat.eqnTim.tNext,building.weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003223/0.4846, allocations: 2.155 MB / 1.237 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00196/0.4865, allocations: 0.986 MB / 1.238 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.4866, allocations: 0 / 1.238 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006591/0.4872, allocations: 476.9 kB / 1.238 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.4884, allocations: 314.8 kB / 1.238 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00916/0.4975, allocations: 6.848 MB / 1.245 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.4981, allocations: 1.043 MB / 1.246 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000854/0.4989, allocations: 283 kB / 1.246 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005739/0.4995, allocations: 415.2 kB / 1.247 GB, free: 348 kB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.4995, allocations: 0 / 1.247 GB, free: 348 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4656/0.9652, allocations: 22.36 MB / 1.269 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.34, allocations: 8.625 kB / 1.269 GB, free: 188.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_EnergyPlus_9_6_0_Validation_OutputVariable_OneEnvironmentOutputVariable_fmu --startTime=864000 --stopTime=950400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_EnergyPlus_9_6_0_Validation_OutputVariable_OneEnvironmentOutputVariable.fmu > Buildings_latest_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable_res.mat does not exist to compare? outputFormat=mat