Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.OneEnvironmentOutputVariable,fileNamePrefix="Buildings_10_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_10_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.001621/0.001621, 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.001976/0.001977, allocations: 192 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.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.44/2.44, allocations: 437 MB / 0.7104 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002297, allocations: 63.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5986/0.6009, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable): time 0.007932/0.6089, allocations: 5.833 MB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1571/0.766, allocations: 150.2 MB / 1.17 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009686/0.767, allocations: 19.88 kB / 1.17 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009077/0.7679, allocations: 245.9 kB / 1.17 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.7701, allocations: 0.5866 MB / 1.171 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.7722, allocations: 0.8661 MB / 1.171 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001743/0.774, allocations: 1.558 MB / 1.173 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009905/0.775, allocations: 0.6376 MB / 1.174 GB, free: 1.879 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007884/0.7758, allocations: 0.5217 MB / 1.174 GB, free: 1.355 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007887/0.7766, allocations: 0.5438 MB / 1.175 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003172/0.7769, allocations: 148 kB / 1.175 GB, free: 0.668 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.778, allocations: 0.5113 MB / 1.175 GB, free: 160 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004358/0.7785, allocations: 331 kB / 1.176 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007674/0.7793, allocations: 0.6259 MB / 1.176 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00245/0.7817, allocations: 1.967 MB / 1.178 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7817, allocations: 0 / 1.178 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7817, allocations: 0 / 1.178 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.824e-05/0.7818, allocations: 8 kB / 1.178 GB, free: 13.22 MB / 0.9356 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.003458/0.7853, allocations: 1.533 MB / 1.18 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.7853, allocations: 8.031 kB / 1.18 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000232/0.7856, allocations: 131.2 kB / 1.18 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007998/0.7864, allocations: 175.3 kB / 1.18 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.7878, allocations: 0.8869 MB / 1.181 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.51e-05/0.7879, allocations: 69.98 kB / 1.181 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.788, allocations: 76 kB / 1.181 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.7897, allocations: 0.963 MB / 1.182 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.7898, allocations: 3.938 kB / 1.182 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.881e-05/0.7899, allocations: 36 kB / 1.182 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.7899, allocations: 20 kB / 1.182 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.7918, allocations: 1.147 MB / 1.183 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00461/0.7964, allocations: 3.104 MB / 1.186 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.7981, allocations: 0.9082 MB / 1.187 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005656/0.7987, allocations: 332.1 kB / 1.187 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.57e-05/0.7988, allocations: 36.5 kB / 1.187 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009931/0.7998, allocations: 0.5362 MB / 1.188 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=81): time 4.168e-06/0.7998, allocations: 3.938 kB / 1.188 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of matching and sorting (n=81): time 0.002279/0.8021, allocations: 1.123 MB / 1.189 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.8022, allocations: 269.7 kB / 1.189 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.8033, allocations: 0.7389 MB / 1.19 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.818e-05/0.8034, allocations: 45.64 kB / 1.19 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003382/0.8037, allocations: 408.6 kB / 1.19 GB, free: 276 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.8039, allocations: 256.3 kB / 1.191 GB, free: 16 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/0.8042, allocations: 166.6 kB / 1.191 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.8044, allocations: 386.8 kB / 1.191 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005519/0.805, allocations: 281.9 kB / 1.191 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006602/0.8056, allocations: 407.9 kB / 1.192 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.8068, allocations: 0.6959 MB / 1.193 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.8068, allocations: 0 / 1.193 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001682/0.8085, allocations: 0.8617 MB / 1.193 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.8086, allocations: 33.7 kB / 1.193 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.8086, allocations: 0 / 1.193 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/0.8088, allocations: 50.55 kB / 1.193 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.8094, allocations: 155.7 kB / 1.194 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003801/0.8098, allocations: 0.5698 MB / 1.194 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006859/0.8105, allocations: 91.31 kB / 1.194 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.887e-05/0.8106, allocations: 39.88 kB / 1.194 GB, free: 12.17 MB / 0.9512 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.0005361/0.8111, allocations: 341.9 kB / 1.195 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.8114, allocations: 90.88 kB / 1.195 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/0.8133, allocations: 1.007 MB / 1.196 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.8134, allocations: 8 kB / 1.196 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.8134, allocations: 4 kB / 1.196 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.8134, allocations: 3.984 kB / 1.196 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.8146, allocations: 1.009 MB / 1.197 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.8146, allocations: 0 / 1.197 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/0.8152, allocations: 143.8 kB / 1.197 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/0.8152, allocations: 4 kB / 1.197 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.705e-05/0.8153, allocations: 23.98 kB / 1.197 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/0.8153, allocations: 8 kB / 1.197 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8153, allocations: 0 / 1.197 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.817, allocations: 0.9868 MB / 1.198 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004407/0.8174, allocations: 303.7 kB / 1.198 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.8176, allocations: 19.98 kB / 1.198 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006245/0.8182, allocations: 59.94 kB / 1.198 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.8184, allocations: 72.91 kB / 1.198 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.699e-05/0.8185, allocations: 47.91 kB / 1.198 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006781/0.8192, allocations: 0.5068 MB / 1.199 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.372e-06/0.8192, allocations: 96 / 1.199 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008961/0.8201, allocations: 327.1 kB / 1.199 GB, free: 7.109 MB / 0.9512 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.003511/0.8236, allocations: 2.15 MB / 1.201 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002243/0.8259, allocations: 0.9743 MB / 1.202 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.8259, allocations: 4 kB / 1.202 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007435/0.8266, allocations: 472.9 kB / 1.203 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.8281, allocations: 319.4 kB / 1.203 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.839, allocations: 6.834 MB / 1.21 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006717/0.8397, allocations: 1.035 MB / 1.211 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009736/0.8407, allocations: 279 kB / 1.211 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006158/0.8413, allocations: 415.2 kB / 1.211 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of SimCode: time 6.11e-07/0.8413, allocations: 0 / 1.211 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05341/0.8948, allocations: 22.25 MB / 1.233 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/12.19, allocations: 14.8 kB / 1.233 GB, free: 4.676 MB / 0.9825 GB (rm -f Buildings_10_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable.pipe >> ../files/Buildings_10_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_EnergyPlus_9_6_0_Validation_OutputVariable_OneEnvironmentOutputVariable_fmu --startTime=864000 --stopTime=950400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_EnergyPlus_9_6_0_Validation_OutputVariable_OneEnvironmentOutputVariable.fmu > Buildings_10_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable_res.mat does not exist to compare? outputFormat=mat