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.001831/0.001831, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002173/0.002173, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.486/2.486, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.857/4.857, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 64.23 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5921/0.5942, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.EnergyPlus_9_6_0.Validation.OutputVariable.OneEnvironmentOutputVariable): time 0.02605/0.6203, allocations: 11.58 MB / 1.064 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.3007/0.9212, allocations: 151.1 MB / 1.211 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00397/0.9252, allocations: 39.75 kB / 1.211 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.9269, allocations: 198.7 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004398/0.9314, allocations: 0.5123 MB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004806/0.9362, allocations: 0.78 MB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004027/0.9402, allocations: 1.561 MB / 1.214 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00249/0.9428, allocations: 0.6416 MB / 1.215 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.9446, allocations: 0.5177 MB / 1.215 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.9462, allocations: 0.5475 MB / 1.216 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000599/0.9468, allocations: 152 kB / 1.216 GB, free: 384 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002036/0.9488, allocations: 0.5074 MB / 1.217 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007696/0.9496, allocations: 347 kB / 1.217 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001568/0.9512, allocations: 0.622 MB / 1.218 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004832/0.9561, allocations: 1.975 MB / 1.219 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.9561, allocations: 0 / 1.219 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.236e-06/0.9561, allocations: 4 kB / 1.219 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.809e-05/0.9562, allocations: 0 / 1.219 GB, free: 12.92 MB / 0.9825 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.006133/0.9624, allocations: 1.535 MB / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 7.05e-05/0.9625, allocations: 8.031 kB / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004797/0.9629, allocations: 135.2 kB / 1.221 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.9644, allocations: 179.1 kB / 1.221 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002812/0.9672, allocations: 0.8788 MB / 1.222 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.9673, allocations: 65.92 kB / 1.222 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002561/0.9676, allocations: 80 kB / 1.222 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/0.971, allocations: 0.963 MB / 1.223 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.922e-05/0.9711, allocations: 7.922 kB / 1.223 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000188/0.9712, allocations: 40 kB / 1.223 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/0.9713, allocations: 20 kB / 1.223 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003254/0.9746, allocations: 1.155 MB / 1.224 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007887/0.9825, allocations: 3.094 MB / 1.227 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002743/0.9853, allocations: 0.9032 MB / 1.228 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009933/0.9863, allocations: 336.1 kB / 1.229 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/0.9865, allocations: 36.44 kB / 1.229 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001744/0.9882, allocations: 0.5208 MB / 1.229 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=81): time 7.394e-06/0.9882, allocations: 0 / 1.229 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=81): time 0.00395/0.9922, allocations: 1.131 MB / 1.23 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002351/0.9925, allocations: 269.7 kB / 1.231 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.9946, allocations: 0.739 MB / 1.231 GB, free: 444 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/0.9948, allocations: 41.7 kB / 1.231 GB, free: 396 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007065/0.9955, allocations: 417.2 kB / 1.232 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004293/0.9959, allocations: 256.4 kB / 1.232 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005367/0.9965, allocations: 170.5 kB / 1.232 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0003348/0.9968, allocations: 390.7 kB / 1.232 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009519/0.9978, allocations: 277.9 kB / 1.233 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.9989, allocations: 407.9 kB / 1.233 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/1.001, allocations: 0.6959 MB / 1.234 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/1.001, allocations: 3.938 kB / 1.234 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002766/1.004, allocations: 0.8502 MB / 1.235 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-05/1.004, allocations: 29.7 kB / 1.235 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/1.004, allocations: 4 kB / 1.235 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002893/1.004, allocations: 54.64 kB / 1.235 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009612/1.005, allocations: 151.8 kB / 1.235 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006475/1.006, allocations: 0.5773 MB / 1.235 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/1.007, allocations: 91.31 kB / 1.236 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/1.007, allocations: 40.23 kB / 1.236 GB, free: 11.87 MB / 0.9981 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.001034/1.008, allocations: 337.6 kB / 1.236 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004699/1.009, allocations: 90.88 kB / 1.236 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/1.012, allocations: 0.9992 MB / 1.237 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/1.012, allocations: 12 kB / 1.237 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/1.012, allocations: 7.938 kB / 1.237 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/1.012, allocations: 7.922 kB / 1.237 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/1.015, allocations: 1.009 MB / 1.238 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/1.015, allocations: 0 / 1.238 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008804/1.015, allocations: 143.8 kB / 1.238 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-05/1.016, allocations: 4.094 kB / 1.238 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/1.016, allocations: 31.91 kB / 1.238 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.625e-05/1.016, allocations: 4 kB / 1.238 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.016, allocations: 3.938 kB / 1.238 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003276/1.019, allocations: 0.9675 MB / 1.239 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/1.02, allocations: 311.6 kB / 1.239 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003774/1.02, allocations: 20 kB / 1.239 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/1.022, allocations: 73.28 kB / 1.239 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000305/1.022, allocations: 76.78 kB / 1.24 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/1.022, allocations: 39.97 kB / 1.24 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001627/1.024, allocations: 0.5069 MB / 1.24 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.9e-07/1.024, allocations: 4 kB / 1.24 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001981/1.026, allocations: 311.2 kB / 1.24 GB, free: 6.809 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.007414/1.033, allocations: 2.167 MB / 1.243 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00429/1.038, allocations: 0.9743 MB / 1.243 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/1.038, allocations: 4 kB / 1.243 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/1.039, allocations: 465.2 kB / 1.244 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/1.042, allocations: 318.2 kB / 1.244 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.113/2.155, allocations: 7.236 MB / 1.251 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/2.156, allocations: 1.044 MB / 1.252 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002274/2.159, allocations: 287 kB / 1.253 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/2.16, allocations: 414.8 kB / 1.253 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.533e-06/2.16, allocations: 0 / 1.253 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1897/2.35, allocations: 22.14 MB / 1.275 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004845/2.35, allocations: 371.7 kB / 1.275 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.98/7.33, allocations: 0 / 1.275 GB, free: 185.8 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