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.269/2.269, allocations: 387.1 MB / 399.7 MB, free: 9.52 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.001737/0.001737, allocations: 173 kB / 492.3 MB, free: 0.6328 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.608/1.608, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001061/0.001061, allocations: 97.12 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.238e-05/3.24e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2851, allocations: 142.4 MB / 1.213 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.353, allocations: 157.4 MB / 1.366 GB, free: 18.88 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/1.354, allocations: 92.2 kB / 1.366 GB, free: 18.88 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02677/1.381, allocations: 10.07 MB / 1.376 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.633e-06/1.381, allocations: 0 / 1.376 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.88e-05/1.381, allocations: 11.59 kB / 1.376 GB, free: 33.93 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.00156/1.382, allocations: 0.7063 MB / 1.377 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.382, allocations: 11.72 kB / 1.377 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/1.382, allocations: 69.97 kB / 1.377 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/1.383, allocations: 50.25 kB / 1.377 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007626/1.383, allocations: 378 kB / 1.377 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/1.384, allocations: 29.28 kB / 1.377 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.974e-05/1.384, allocations: 36.89 kB / 1.377 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007186/1.384, allocations: 382 kB / 1.378 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/1.384, allocations: 0 / 1.378 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/1.384, allocations: 20.23 kB / 1.378 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/1.384, allocations: 12.28 kB / 1.378 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005024/1.385, allocations: 264.5 kB / 1.378 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/1.387, allocations: 1.129 MB / 1.379 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005021/1.387, allocations: 307 kB / 1.379 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/1.388, allocations: 136.3 kB / 1.38 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.104e-05/1.388, allocations: 7.75 kB / 1.38 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003604/1.388, allocations: 218 kB / 1.38 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=39): time 2.935e-06/1.388, allocations: 0 / 1.38 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.0006329/1.389, allocations: 312.3 kB / 1.38 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/1.389, allocations: 118 kB / 1.38 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/1.389, allocations: 361.7 kB / 1.381 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.159e-05/1.389, allocations: 47.28 kB / 1.381 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/1.39, allocations: 205.3 kB / 1.381 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.844e-05/1.39, allocations: 104.9 kB / 1.381 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/1.39, allocations: 13.62 kB / 1.381 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.39, allocations: 347.3 kB / 1.381 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/1.39, allocations: 125.9 kB / 1.381 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/1.39, allocations: 227.6 kB / 1.382 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/1.391, allocations: 166.5 kB / 1.382 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/1.391, allocations: 0 / 1.382 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006695/1.391, allocations: 438 kB / 1.382 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/1.391, allocations: 33.05 kB / 1.382 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.391, allocations: 3.75 kB / 1.382 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/1.391, allocations: 11.59 kB / 1.382 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/1.392, allocations: 74.23 kB / 1.382 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/1.392, allocations: 3.844 kB / 1.382 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/1.392, allocations: 56.22 kB / 1.382 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/1.392, allocations: 23.45 kB / 1.382 GB, free: 31.2 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.0001604/1.392, allocations: 152.5 kB / 1.383 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/1.392, allocations: 38.38 kB / 1.383 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006168/1.393, allocations: 375.5 kB / 1.383 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/1.393, allocations: 11.8 kB / 1.383 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.393, allocations: 4 kB / 1.383 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/1.393, allocations: 4 kB / 1.383 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/1.394, allocations: 0.9167 MB / 1.384 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.394, allocations: 3.953 kB / 1.384 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/1.395, allocations: 54.11 kB / 1.384 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/1.395, allocations: 0 / 1.384 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/1.395, allocations: 14.97 kB / 1.384 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.395, allocations: 0 / 1.384 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.395, allocations: 3.844 kB / 1.384 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005316/1.395, allocations: 440.9 kB / 1.384 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.495e-05/1.395, allocations: 123.9 kB / 1.384 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.215e-05/1.395, allocations: 11.58 kB / 1.384 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/1.396, allocations: 48.89 kB / 1.384 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/1.396, allocations: 58.14 kB / 1.385 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/1.396, allocations: 14.36 kB / 1.385 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002819/1.396, allocations: 272.3 kB / 1.385 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.396, allocations: 0 / 1.385 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004818/1.397, allocations: 104.9 kB / 1.385 GB, free: 29.98 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.001777/1.398, allocations: 1.307 MB / 1.386 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006308/1.399, allocations: 394 kB / 1.387 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.399, allocations: 4.062 kB / 1.387 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002378/1.399, allocations: 172.9 kB / 1.387 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/1.4, allocations: 53.42 kB / 1.387 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/1.401, allocations: 0.6368 MB / 1.387 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/1.402, allocations: 0.8241 MB / 1.388 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002511/1.402, allocations: 72.66 kB / 1.388 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/1.402, allocations: 142.4 kB / 1.388 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of SimCode: time 3.8e-07/1.402, allocations: 0 / 1.388 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/1.428, allocations: 9.097 MB / 1.397 GB, free: 23.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/1.428, allocations: 236.8 kB / 1.398 GB, free: 23.33 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/3.634, allocations: 0 / 1.398 GB, free: 23.33 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