Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.OneEnvironmentOutputVariable,fileNamePrefix="Buildings_9_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_9_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.001277/0.001277, allocations: 108 kB / 15.61 MB, free: 152 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.00143/0.00143, allocations: 194.7 kB / 16.53 MB, free: 6.699 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.237/1.237, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.131/2.131, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.91 kB / 0.8126 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.524/0.5252, allocations: 140.4 MB / 0.9497 GB, free: 9.352 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable): time 0.005493/0.5308, allocations: 5.318 MB / 0.9549 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1364/0.6671, allocations: 150.2 MB / 1.102 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008581/0.668, allocations: 19.88 kB / 1.102 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008328/0.6689, allocations: 226.1 kB / 1.102 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.6708, allocations: 0.5424 MB / 1.102 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.6727, allocations: 0.8552 MB / 1.103 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001428/0.6741, allocations: 1.472 MB / 1.105 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008752/0.675, allocations: 0.6686 MB / 1.105 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006381/0.6756, allocations: 0.506 MB / 1.106 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006028/0.6762, allocations: 0.5343 MB / 1.106 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002168/0.6765, allocations: 148 kB / 1.106 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008095/0.6773, allocations: 0.5113 MB / 1.107 GB, free: 456 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002659/0.6776, allocations: 335 kB / 1.107 GB, free: 120 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005245/0.6781, allocations: 0.6181 MB / 1.108 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.6799, allocations: 1.948 MB / 1.11 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.68, allocations: 0 / 1.11 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.082e-06/0.68, allocations: 0 / 1.11 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.743e-05/0.68, allocations: 0 / 1.11 GB, free: 13.54 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002397/0.6824, allocations: 1.518 MB / 1.111 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.6824, allocations: 8.031 kB / 1.111 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/0.6826, allocations: 139.2 kB / 1.111 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006327/0.6832, allocations: 175.4 kB / 1.112 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.6843, allocations: 0.887 MB / 1.112 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.431e-05/0.6844, allocations: 66 kB / 1.112 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.624e-05/0.6845, allocations: 79.98 kB / 1.113 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.6858, allocations: 0.9591 MB / 1.113 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.6859, allocations: 0 / 1.113 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.688e-05/0.6859, allocations: 40 kB / 1.114 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.686, allocations: 20 kB / 1.114 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.6876, allocations: 1.155 MB / 1.115 GB, free: 8.352 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003455/0.691, allocations: 2.951 MB / 1.118 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.6925, allocations: 0.8947 MB / 1.118 GB, free: 4.398 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005371/0.6931, allocations: 336.1 kB / 1.119 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.992e-05/0.6932, allocations: 40.5 kB / 1.119 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008447/0.694, allocations: 0.5207 MB / 1.119 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=81): time 5.19e-06/0.694, allocations: 0 / 1.119 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of matching and sorting (n=81): time 0.002043/0.6961, allocations: 1.131 MB / 1.12 GB, free: 2.332 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.6962, allocations: 273.7 kB / 1.121 GB, free: 2.004 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008851/0.6971, allocations: 0.7235 MB / 1.121 GB, free: 1.273 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.534e-05/0.6972, allocations: 45.7 kB / 1.121 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000305/0.6975, allocations: 404.6 kB / 1.122 GB, free: 0.8203 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.6977, allocations: 264.4 kB / 1.122 GB, free: 0.5586 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.6979, allocations: 162.5 kB / 1.122 GB, free: 404 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6981, allocations: 394.7 kB / 1.123 GB, free: 0 / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005232/0.6986, allocations: 277.9 kB / 1.123 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000638/0.6992, allocations: 407.9 kB / 1.123 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.7003, allocations: 0.6997 MB / 1.124 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.7004, allocations: 3.938 kB / 1.124 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001508/0.7019, allocations: 0.8542 MB / 1.125 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.7019, allocations: 35.58 kB / 1.125 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.7019, allocations: 0 / 1.125 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/0.7021, allocations: 54.64 kB / 1.125 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005935/0.7027, allocations: 155.8 kB / 1.125 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003579/0.7031, allocations: 0.5775 MB / 1.126 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006193/0.7037, allocations: 95.22 kB / 1.126 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/0.7038, allocations: 27.98 kB / 1.126 GB, free: 12.71 MB / 0.8887 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.0004675/0.7042, allocations: 349.7 kB / 1.126 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.7044, allocations: 94.86 kB / 1.126 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/0.7063, allocations: 0.9951 MB / 1.127 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.7063, allocations: 12 kB / 1.127 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.7063, allocations: 8 kB / 1.127 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.7064, allocations: 3.984 kB / 1.127 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.7074, allocations: 1.013 MB / 1.128 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.7074, allocations: 0 / 1.128 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005394/0.708, allocations: 139.8 kB / 1.128 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.708, allocations: 4 kB / 1.128 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.542e-05/0.708, allocations: 31.97 kB / 1.128 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.708, allocations: 0 / 1.128 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7081, allocations: 4 kB / 1.128 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.7096, allocations: 0.9753 MB / 1.129 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/0.71, allocations: 307.6 kB / 1.129 GB, free: 8.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.7102, allocations: 27.94 kB / 1.13 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005852/0.7108, allocations: 68.78 kB / 1.13 GB, free: 8.566 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.7109, allocations: 64.91 kB / 1.13 GB, free: 8.504 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-05/0.711, allocations: 39.92 kB / 1.13 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000581/0.7115, allocations: 0.5107 MB / 1.13 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7116, allocations: 0 / 1.13 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000746/0.7123, allocations: 303.3 kB / 1.13 GB, free: 7.66 MB / 0.8887 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.003153/0.7155, allocations: 2.159 MB / 1.133 GB, free: 5.688 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001944/0.7174, allocations: 0.9782 MB / 1.134 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7174, allocations: 0 / 1.134 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006375/0.7181, allocations: 469 kB / 1.134 GB, free: 4.23 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.7192, allocations: 314.2 kB / 1.134 GB, free: 3.953 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008773/0.728, allocations: 6.781 MB / 1.141 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005789/0.7286, allocations: 1.039 MB / 1.142 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007931/0.7294, allocations: 279 kB / 1.142 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005355/0.7299, allocations: 415.2 kB / 1.143 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of SimCode: time 6.61e-07/0.7299, allocations: 3.938 kB / 1.143 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0448/0.7747, allocations: 21.9 MB / 1.164 GB, free: 5.621 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.42, allocations: 18.28 kB / 1.164 GB, free: 5.605 MB / 0.92 GB (rm -f Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable.pipe >> ../files/Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_EnergyPlus_9_6_0_Validation_OutputVariable_OneEnvironmentOutputVariable_fmu --startTime=864000 --stopTime=950400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_EnergyPlus_9_6_0_Validation_OutputVariable_OneEnvironmentOutputVariable.fmu > Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable_res.mat does not exist to compare? outputFormat=mat