Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOutputVariable.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOutputVariable,fileNamePrefix="Buildings_9_Buildings_ThermalZones_EnergyPlus_9_6_0_Validation_OutputVariable_OneZoneOutputVariable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOutputVariable,fileNamePrefix="Buildings_9_Buildings_ThermalZones_EnergyPlus_9_6_0_Validation_OutputVariable_OneZoneOutputVariable",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.00594/0.00594, allocations: 102.7 kB / 15.73 MB, free: 6.492 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.001509/0.00151, allocations: 192.6 kB / 16.67 MB, free: 6.379 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001413, allocations: 67.25 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2779, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOutputVariable): time 0.0079/0.2859, allocations: 5.323 MB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1628/0.4487, allocations: 150.2 MB / 1.239 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.4498, allocations: 23.81 kB / 1.239 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009648/0.4507, allocations: 234 kB / 1.24 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002374/0.4532, allocations: 0.5462 MB / 1.24 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.4558, allocations: 0.8565 MB / 1.241 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002/0.4578, allocations: 1.488 MB / 1.242 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.459, allocations: 0.6661 MB / 1.243 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.4601, allocations: 0.5139 MB / 1.244 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009283/0.4611, allocations: 0.5274 MB / 1.244 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000412/0.4615, allocations: 152 kB / 1.244 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.4627, allocations: 0.5347 MB / 1.245 GB, free: 320 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004742/0.4632, allocations: 335 kB / 1.245 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008815/0.4641, allocations: 0.6141 MB / 1.246 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002807/0.4669, allocations: 1.983 MB / 1.248 GB, free: 13.38 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.467, allocations: 0 / 1.248 GB, free: 13.38 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.704e-06/0.467, allocations: 0 / 1.248 GB, free: 13.38 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.805e-05/0.467, allocations: 0 / 1.248 GB, free: 13.38 MB / 1.014 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.003596/0.4706, allocations: 1.514 MB / 1.249 GB, free: 11.8 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.4707, allocations: 16.03 kB / 1.249 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002448/0.4709, allocations: 131.2 kB / 1.249 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008016/0.4717, allocations: 167.4 kB / 1.249 GB, free: 11.49 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.4734, allocations: 0.9142 MB / 1.25 GB, free: 10.53 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/0.4735, allocations: 58 kB / 1.25 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.4736, allocations: 84 kB / 1.25 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.4755, allocations: 0.9708 MB / 1.251 GB, free: 9.375 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.4755, allocations: 4 kB / 1.251 GB, free: 9.371 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.4757, allocations: 39.98 kB / 1.251 GB, free: 9.332 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.4757, allocations: 20 kB / 1.251 GB, free: 9.312 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.4777, allocations: 1.147 MB / 1.253 GB, free: 8.164 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004559/0.4822, allocations: 2.91 MB / 1.255 GB, free: 5.176 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.4839, allocations: 0.8986 MB / 1.256 GB, free: 4.25 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005794/0.4845, allocations: 332.1 kB / 1.257 GB, free: 3.918 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.812e-05/0.4846, allocations: 28.5 kB / 1.257 GB, free: 3.891 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009397/0.4856, allocations: 0.5362 MB / 1.257 GB, free: 3.328 MB / 1.014 GB Notification: Performance of pre-optimization done (n=81): time 3.837e-06/0.4856, allocations: 4 kB / 1.257 GB, free: 3.324 MB / 1.014 GB Notification: Performance of matching and sorting (n=81): time 0.002266/0.4879, allocations: 1.127 MB / 1.258 GB, free: 2.188 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.488, allocations: 277.5 kB / 1.258 GB, free: 1.852 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.4892, allocations: 0.7389 MB / 1.259 GB, free: 1.105 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.4893, allocations: 45.7 kB / 1.259 GB, free: 1.055 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004028/0.4897, allocations: 400.6 kB / 1.26 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.49, allocations: 256.4 kB / 1.26 GB, free: 412 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003161/0.4903, allocations: 170.6 kB / 1.26 GB, free: 236 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.5287/1.019, allocations: 390.8 kB / 1.26 GB, free: 173.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008594/1.02, allocations: 275.2 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007594/1.021, allocations: 410.5 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/1.022, allocations: 0.6912 MB / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/1.022, allocations: 1.438 kB / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001935/1.024, allocations: 0.8556 MB / 1.263 GB, free: 173.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/1.024, allocations: 36.81 kB / 1.263 GB, free: 173.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.024, allocations: 1 kB / 1.263 GB, free: 173.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001962/1.024, allocations: 52.17 kB / 1.263 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006574/1.025, allocations: 154.3 kB / 1.263 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002753/1.025, allocations: 0.5705 MB / 1.263 GB, free: 172.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006609/1.026, allocations: 89.09 kB / 1.263 GB, free: 172.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.658e-05/1.026, allocations: 37.02 kB / 1.263 GB, free: 172.5 MB / 1.014 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.0005192/1.026, allocations: 339.5 kB / 1.264 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/1.027, allocations: 93.98 kB / 1.264 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/1.029, allocations: 1.004 MB / 1.265 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/1.029, allocations: 9.938 kB / 1.265 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/1.029, allocations: 1.422 kB / 1.265 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/1.029, allocations: 5.391 kB / 1.265 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/1.03, allocations: 1.011 MB / 1.266 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-06/1.03, allocations: 1.75 kB / 1.266 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005855/1.031, allocations: 140.1 kB / 1.266 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/1.031, allocations: 3.781 kB / 1.266 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/1.031, allocations: 27.52 kB / 1.266 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/1.031, allocations: 4.312 kB / 1.266 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.031, allocations: 0.7188 kB / 1.266 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/1.033, allocations: 0.9765 MB / 1.267 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004627/1.033, allocations: 311.6 kB / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/1.033, allocations: 21.72 kB / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005696/1.034, allocations: 64.34 kB / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/1.034, allocations: 70.2 kB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-05/1.034, allocations: 38.12 kB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007254/1.035, allocations: 0.5104 MB / 1.268 GB, free: 170.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/1.035, allocations: 3.344 kB / 1.268 GB, free: 170.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00096/1.036, allocations: 302.3 kB / 1.268 GB, free: 170.4 MB / 1.014 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.003592/1.04, allocations: 2.174 MB / 1.27 GB, free: 169.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001811/1.041, allocations: 0.785 MB / 1.271 GB, free: 169 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.041, allocations: 0.5625 kB / 1.271 GB, free: 169 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008475/1.042, allocations: 474.2 kB / 1.272 GB, free: 168.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/1.044, allocations: 310.7 kB / 1.272 GB, free: 168.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/1.054, allocations: 6.543 MB / 1.278 GB, free: 165.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005493/1.055, allocations: 1.04 MB / 1.279 GB, free: 164.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009264/1.056, allocations: 282.8 kB / 1.28 GB, free: 164.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005665/1.056, allocations: 414.6 kB / 1.28 GB, free: 164.2 MB / 1.014 GB Notification: Performance of SimCode: time 1.182e-06/1.056, allocations: 0 / 1.28 GB, free: 164.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06223/1.118, allocations: 22.55 MB / 1.302 GB, free: 156.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.66, allocations: 10 kB / 1.302 GB, free: 156.7 MB / 1.014 GB (rm -f Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOutputVariable.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOutputVariable.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOutputVariable.pipe >> ../files/Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOutputVariable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOutputVariable_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_EnergyPlus_9_6_0_Validation_OutputVariable_OneZoneOutputVariable_fmu --startTime=864000 --stopTime=950400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_EnergyPlus_9_6_0_Validation_OutputVariable_OneZoneOutputVariable.fmu > Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOutputVariable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneZoneOutputVariable_res.mat does not exist to compare? outputFormat=mat