Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.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.CoolingModeNonIntegrated,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.427/2.427, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001572/0.001572, allocations: 176.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.001052/0.001052, allocations: 92.02 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.01e-05/4.021e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3203, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.37, allocations: 158.3 MB / 1.373 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/1.37, allocations: 91.88 kB / 1.373 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02778/1.398, allocations: 10.09 MB / 1.383 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.462e-06/1.398, allocations: 0 / 1.383 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.931e-05/1.398, allocations: 11.94 kB / 1.383 GB, free: 3.32 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.001161/1.4, allocations: 0.7063 MB / 1.384 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/1.4, allocations: 12.03 kB / 1.384 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.256e-05/1.4, allocations: 64.47 kB / 1.384 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/1.4, allocations: 47.44 kB / 1.384 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006269/1.4, allocations: 383.9 kB / 1.385 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/1.4, allocations: 27.09 kB / 1.385 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.283e-05/1.401, allocations: 44.92 kB / 1.385 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006356/1.401, allocations: 380.5 kB / 1.385 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/1.401, allocations: 0 / 1.385 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/1.401, allocations: 17.44 kB / 1.385 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/1.401, allocations: 12.78 kB / 1.385 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004743/1.402, allocations: 265.1 kB / 1.385 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/1.403, allocations: 1.123 MB / 1.386 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/1.404, allocations: 296 kB / 1.387 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/1.404, allocations: 139.4 kB / 1.387 GB, free: 420 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.509e-05/1.404, allocations: 7.984 kB / 1.387 GB, free: 412 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003772/1.405, allocations: 216.6 kB / 1.387 GB, free: 232 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=39): time 1.874e-06/1.405, allocations: 0 / 1.387 GB, free: 232 kB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.0006031/1.405, allocations: 320.8 kB / 1.387 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/1.405, allocations: 113.9 kB / 1.387 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/1.406, allocations: 368.6 kB / 1.388 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/1.406, allocations: 45.58 kB / 1.388 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/1.406, allocations: 208.4 kB / 1.388 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.575e-05/1.406, allocations: 89.42 kB / 1.388 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/1.406, allocations: 10.12 kB / 1.388 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.406, allocations: 352.5 kB / 1.388 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/1.407, allocations: 127.9 kB / 1.389 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/1.407, allocations: 236.5 kB / 1.389 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/1.407, allocations: 150.2 kB / 1.389 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/1.407, allocations: 4 kB / 1.389 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006848/1.408, allocations: 449.8 kB / 1.389 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/1.408, allocations: 37.34 kB / 1.389 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/1.408, allocations: 4 kB / 1.389 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/1.408, allocations: 7.938 kB / 1.389 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/1.408, allocations: 67.27 kB / 1.389 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/1.408, allocations: 11.94 kB / 1.389 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/1.409, allocations: 62.36 kB / 1.39 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/1.409, allocations: 15.44 kB / 1.39 GB, free: 14 MB / 0.8542 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.0001582/1.409, allocations: 163.6 kB / 1.39 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/1.409, allocations: 35.53 kB / 1.39 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006666/1.41, allocations: 376.7 kB / 1.39 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.41, allocations: 4 kB / 1.39 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.41, allocations: 0 / 1.39 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/1.41, allocations: 3.984 kB / 1.39 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/1.411, allocations: 0.9377 MB / 1.391 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.411, allocations: 0 / 1.391 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/1.411, allocations: 43.91 kB / 1.391 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/1.411, allocations: 0 / 1.391 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/1.411, allocations: 15.11 kB / 1.391 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.411, allocations: 0 / 1.391 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.411, allocations: 4 kB / 1.391 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/1.412, allocations: 437.2 kB / 1.391 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/1.412, allocations: 131.4 kB / 1.392 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.512e-05/1.412, allocations: 11 kB / 1.392 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/1.412, allocations: 47.77 kB / 1.392 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/1.412, allocations: 60.72 kB / 1.392 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/1.412, allocations: 11.44 kB / 1.392 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002752/1.413, allocations: 268.1 kB / 1.392 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.703e-06/1.413, allocations: 0 / 1.392 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004469/1.413, allocations: 114.4 kB / 1.392 GB, free: 11.78 MB / 0.8542 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.001662/1.415, allocations: 1.286 MB / 1.393 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006531/1.415, allocations: 411.6 kB / 1.394 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.415, allocations: 0 / 1.394 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002395/1.416, allocations: 159.5 kB / 1.394 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/1.416, allocations: 74.27 kB / 1.394 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/1.417, allocations: 0.6281 MB / 1.395 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/1.418, allocations: 0.8304 MB / 1.395 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002147/1.418, allocations: 59.25 kB / 1.395 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/1.418, allocations: 140.8 kB / 1.396 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of SimCode: time 3.7e-07/1.418, allocations: 0 / 1.396 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/1.442, allocations: 9.108 MB / 1.404 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/1.442, allocations: 238.3 kB / 1.405 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/3.708, allocations: 4 kB / 1.405 GB, free: 15.5 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated_res.mat does not exist to compare? outputFormat=mat