Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.366/2.366, allocations: 390.5 MB / 398 MB, free: 10.95 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.001197/0.001197, allocations: 176.8 kB / 491.2 MB, free: 1.57 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.583/1.583, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009548/0.0009549, allocations: 94.77 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.938e-05/1.941e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3029, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9444/1.247, allocations: 153.3 MB / 1.362 GB, free: 17.63 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/1.248, allocations: 87.92 kB / 1.362 GB, free: 17.63 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01771/1.265, allocations: 7.334 MB / 1.369 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.423e-06/1.265, allocations: 4 kB / 1.369 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.718e-05/1.265, allocations: 11.59 kB / 1.369 GB, free: 32.84 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.0009537/1.266, allocations: 0.6585 MB / 1.37 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.266, allocations: 7.812 kB / 1.37 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/1.267, allocations: 50.34 kB / 1.37 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/1.267, allocations: 325.2 kB / 1.37 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/1.267, allocations: 19.03 kB / 1.37 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/1.267, allocations: 34.08 kB / 1.37 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005823/1.268, allocations: 378.9 kB / 1.371 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000629/1.268, allocations: 451 kB / 1.371 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/1.268, allocations: 0 / 1.371 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/1.268, allocations: 4 kB / 1.371 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/1.268, allocations: 20.69 kB / 1.371 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/1.27, allocations: 1.298 MB / 1.373 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/1.271, allocations: 349.8 kB / 1.373 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/1.271, allocations: 173.5 kB / 1.373 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.673e-05/1.271, allocations: 11.97 kB / 1.373 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003413/1.271, allocations: 238.2 kB / 1.373 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=52): time 1.884e-06/1.271, allocations: 3.938 kB / 1.373 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52): time 0.0005395/1.272, allocations: 331.3 kB / 1.374 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/1.272, allocations: 66.34 kB / 1.374 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/1.272, allocations: 216.6 kB / 1.374 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/1.272, allocations: 42.53 kB / 1.374 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/1.272, allocations: 196.8 kB / 1.374 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.089e-05/1.272, allocations: 120.5 kB / 1.374 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/1.272, allocations: 4 kB / 1.374 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.272, allocations: 340.3 kB / 1.375 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/1.273, allocations: 154.8 kB / 1.375 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/1.273, allocations: 234 kB / 1.375 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/1.273, allocations: 149.3 kB / 1.375 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.273, allocations: 0 / 1.375 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0006131/1.274, allocations: 458.9 kB / 1.376 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/1.274, allocations: 36.31 kB / 1.376 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.274, allocations: 8.062 kB / 1.376 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/1.274, allocations: 3.844 kB / 1.376 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/1.274, allocations: 73.69 kB / 1.376 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/1.274, allocations: 7.75 kB / 1.376 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/1.275, allocations: 72.7 kB / 1.376 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.807e-05/1.275, allocations: 24.41 kB / 1.376 GB, free: 30.52 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,$PRE.cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.newActive,$PRE.cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,$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.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.enableFire,cooModCon.con3.fire,$PRE.cooModCon.con3.t_start,cooModCon.con3.t_start,cooModCon.con4.enableFire,cooModCon.con4.fire,$PRE.cooModCon.con4.t_start,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,$PRE.TCHWLeaWSE.T_start,TCHWLeaWSE.T_start,$PRE.TCHWLeaWSE.count,TCHWLeaWSE.count,cooModCon.con3.condition,cooModCon.swi.expr[1],cooModCon.swi.expr[2],cooModCon.swi.expr[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0001621/1.275, allocations: 158.1 kB / 1.376 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004293/1.275, allocations: 330.8 kB / 1.376 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/1.275, allocations: 35.11 kB / 1.376 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006238/1.276, allocations: 406.8 kB / 1.377 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.276, allocations: 3.844 kB / 1.377 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.276, allocations: 0 / 1.377 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/1.276, allocations: 3.281 kB / 1.377 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/1.277, allocations: 0.9834 MB / 1.378 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.277, allocations: 0 / 1.378 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/1.277, allocations: 50.84 kB / 1.378 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/1.277, allocations: 0 / 1.378 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/1.277, allocations: 3.844 kB / 1.378 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/1.277, allocations: 7.188 kB / 1.378 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.277, allocations: 0 / 1.378 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005495/1.278, allocations: 480.4 kB / 1.378 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/1.278, allocations: 115.3 kB / 1.378 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.753e-05/1.278, allocations: 0 / 1.378 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/1.278, allocations: 47.52 kB / 1.378 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/1.279, allocations: 70.64 kB / 1.378 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/1.279, allocations: 21.12 kB / 1.378 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001104/1.279, allocations: 134.4 kB / 1.378 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.51e-07/1.279, allocations: 3.938 kB / 1.378 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000369/1.279, allocations: 90.2 kB / 1.379 GB, free: 29.55 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: 45 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.fire,cooModCon.con3.t_start,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,TCHWLeaWSE.T_start,TCHWLeaWSE.count) * Number of discrete states: 5 (TCHWLeaWSE.count,cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0008943/1.28, allocations: 1.05 MB / 1.38 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005591/1.281, allocations: 461.4 kB / 1.38 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.281, allocations: 0 / 1.38 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002395/1.281, allocations: 200.7 kB / 1.38 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/1.281, allocations: 40.98 kB / 1.38 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/1.282, allocations: 0.5661 MB / 1.381 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/1.283, allocations: 0.8271 MB / 1.382 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002186/1.283, allocations: 61.78 kB / 1.382 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/1.283, allocations: 136.5 kB / 1.382 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.283, allocations: 0 / 1.382 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03017/1.313, allocations: 7.245 MB / 1.389 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/1.314, allocations: 178.1 kB / 1.389 GB, free: 25.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/3.514, allocations: 0 / 1.389 GB, free: 25.37 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode_res.mat does not exist to compare? outputFormat=mat