Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 387.4 MB / 394.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009996/0.0009998, allocations: 168.9 kB / 487.4 MB, free: 5.023 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.681/1.681, allocations: 221.5 MB / 0.7824 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009148/0.0009148, allocations: 95.91 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.781e-05/1.784e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2904, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.349, allocations: 156.8 MB / 1.359 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/1.35, allocations: 96.64 kB / 1.359 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02527/1.375, allocations: 9.973 MB / 1.369 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.543e-06/1.375, allocations: 0 / 1.369 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.641e-05/1.375, allocations: 7.562 kB / 1.369 GB, free: 33.5 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001435/1.376, allocations: 0.703 MB / 1.37 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/1.376, allocations: 13.95 kB / 1.37 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/1.377, allocations: 46.5 kB / 1.37 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006521/1.377, allocations: 378.3 kB / 1.37 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/1.377, allocations: 19.38 kB / 1.37 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-05/1.377, allocations: 23.22 kB / 1.37 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004662/1.378, allocations: 250.8 kB / 1.37 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/1.378, allocations: 337.7 kB / 1.371 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/1.378, allocations: 7.938 kB / 1.371 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/1.379, allocations: 0 / 1.371 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/1.379, allocations: 12.34 kB / 1.371 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/1.38, allocations: 1.046 MB / 1.372 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/1.381, allocations: 284.8 kB / 1.372 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/1.381, allocations: 124.7 kB / 1.372 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.631e-05/1.381, allocations: 7.422 kB / 1.372 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003102/1.381, allocations: 203 kB / 1.372 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=39): time 2.315e-06/1.381, allocations: 4 kB / 1.372 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.0005663/1.382, allocations: 303.3 kB / 1.373 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/1.382, allocations: 112.6 kB / 1.373 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/1.382, allocations: 347.5 kB / 1.373 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/1.382, allocations: 36.14 kB / 1.373 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/1.382, allocations: 197.1 kB / 1.373 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.479e-05/1.383, allocations: 97.73 kB / 1.373 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/1.383, allocations: 0 / 1.373 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.383, allocations: 356.9 kB / 1.374 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/1.383, allocations: 120.6 kB / 1.374 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/1.383, allocations: 216.8 kB / 1.374 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/1.383, allocations: 120.6 kB / 1.374 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.383, allocations: 0 / 1.374 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005462/1.384, allocations: 379.4 kB / 1.375 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/1.384, allocations: 32.33 kB / 1.375 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.384, allocations: 3.844 kB / 1.375 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/1.384, allocations: 8.156 kB / 1.375 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/1.384, allocations: 69.31 kB / 1.375 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/1.384, allocations: 7.766 kB / 1.375 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/1.385, allocations: 54.48 kB / 1.375 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/1.385, allocations: 19.47 kB / 1.375 GB, free: 31.08 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$whenCondition4,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,cooModCon.swi.expr[1],cooModCon.swi.expr[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001432/1.385, allocations: 140 kB / 1.375 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004239/1.385, allocations: 295.9 kB / 1.375 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/1.385, allocations: 34.06 kB / 1.375 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005522/1.386, allocations: 345.1 kB / 1.376 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/1.386, allocations: 15.77 kB / 1.376 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.386, allocations: 5.719 kB / 1.376 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/1.386, allocations: 1.734 kB / 1.376 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/1.387, allocations: 0.8374 MB / 1.376 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/1.387, allocations: 0 / 1.376 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/1.387, allocations: 57 kB / 1.376 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/1.387, allocations: 3.812 kB / 1.376 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/1.387, allocations: 2.438 kB / 1.376 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/1.387, allocations: 3.844 kB / 1.376 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.387, allocations: 4 kB / 1.376 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004902/1.388, allocations: 416.8 kB / 1.377 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.863e-05/1.388, allocations: 126.8 kB / 1.377 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.44e-05/1.388, allocations: 11.7 kB / 1.377 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/1.388, allocations: 43.94 kB / 1.377 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/1.389, allocations: 55.36 kB / 1.377 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/1.389, allocations: 17.94 kB / 1.377 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002259/1.389, allocations: 248.1 kB / 1.377 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.389, allocations: 0 / 1.377 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004833/1.389, allocations: 99.05 kB / 1.377 GB, free: 30.12 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 30 (cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,$cse2,$cse3,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,TCHWSup.T_start,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (chiNumOn.combiTimeTable.nextTimeEvent,TCHWSup.count,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,chiNumOn.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001616/1.391, allocations: 1.238 MB / 1.379 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005312/1.391, allocations: 373 kB / 1.379 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.391, allocations: 0 / 1.379 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/1.392, allocations: 159.7 kB / 1.379 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/1.392, allocations: 61.38 kB / 1.379 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/1.393, allocations: 0.5967 MB / 1.38 GB, free: 29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/1.394, allocations: 0.8309 MB / 1.381 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002212/1.394, allocations: 57.61 kB / 1.381 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/1.394, allocations: 145.3 kB / 1.381 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of SimCode: time 4.8e-07/1.394, allocations: 0 / 1.381 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/1.424, allocations: 8.434 MB / 1.389 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/1.424, allocations: 220 kB / 1.389 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/3.626, allocations: 1.719 kB / 1.389 GB, free: 24.43 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated_res.mat does not exist to compare? outputFormat=mat