Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.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.CoolingTowerSpeed,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",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.506/2.506, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001024/0.001024, allocations: 180.9 kB / 492.3 MB, free: 0.6172 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.579/1.579, allocations: 221.3 MB / 0.7872 GB, free: 12.95 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.0009221/0.000922, allocations: 98.81 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.175e-05/3.186e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3005, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.31, allocations: 159.9 MB / 1.369 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/1.31, allocations: 97.33 kB / 1.369 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02712/1.338, allocations: 10.54 MB / 1.379 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.635e-06/1.338, allocations: 0 / 1.379 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.101e-05/1.338, allocations: 7.719 kB / 1.379 GB, free: 33.88 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001441/1.339, allocations: 0.6875 MB / 1.38 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/1.339, allocations: 11.41 kB / 1.38 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/1.339, allocations: 67.5 kB / 1.38 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/1.34, allocations: 57.55 kB / 1.38 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008854/1.341, allocations: 417.7 kB / 1.38 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/1.341, allocations: 22.06 kB / 1.38 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/1.341, allocations: 25.59 kB / 1.38 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005836/1.341, allocations: 338.6 kB / 1.381 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/1.341, allocations: 0 / 1.381 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/1.341, allocations: 18.38 kB / 1.381 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/1.341, allocations: 11.61 kB / 1.381 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/1.342, allocations: 193.9 kB / 1.381 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/1.343, allocations: 1.167 MB / 1.382 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/1.344, allocations: 235.2 kB / 1.382 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/1.344, allocations: 98.5 kB / 1.382 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-05/1.344, allocations: 19.3 kB / 1.382 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000309/1.345, allocations: 145.5 kB / 1.382 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=23): time 3.236e-06/1.345, allocations: 4 kB / 1.382 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.0006481/1.345, allocations: 252.4 kB / 1.383 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.345, allocations: 158.1 kB / 1.383 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007035/1.346, allocations: 407.9 kB / 1.383 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/1.346, allocations: 28.83 kB / 1.383 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/1.346, allocations: 228.4 kB / 1.384 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.247e-05/1.346, allocations: 72.47 kB / 1.384 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/1.346, allocations: 2.938 kB / 1.384 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001709/1.347, allocations: 361.7 kB / 1.384 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/1.347, allocations: 75.94 kB / 1.384 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/1.347, allocations: 165.8 kB / 1.384 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/1.347, allocations: 88.2 kB / 1.384 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.347, allocations: 3.938 kB / 1.384 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004877/1.348, allocations: 273.4 kB / 1.384 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/1.348, allocations: 3.812 kB / 1.384 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/1.348, allocations: 3.875 kB / 1.385 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/1.348, allocations: 0 / 1.385 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/1.348, allocations: 65.73 kB / 1.385 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/1.348, allocations: 7.734 kB / 1.385 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/1.348, allocations: 38.23 kB / 1.385 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/1.348, allocations: 11.59 kB / 1.385 GB, free: 30.68 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.cooMod.combiTimeTable.nextTimeEvent,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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.0001362/1.349, allocations: 127.2 kB / 1.385 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/1.349, allocations: 42.88 kB / 1.385 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000579/1.349, allocations: 279.6 kB / 1.385 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/1.349, allocations: 0 / 1.385 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/1.349, allocations: 0 / 1.385 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/1.349, allocations: 3.953 kB / 1.385 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005573/1.35, allocations: 440 kB / 1.385 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.35, allocations: 0 / 1.385 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/1.35, allocations: 46.56 kB / 1.386 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/1.35, allocations: 0 / 1.386 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/1.35, allocations: 19.23 kB / 1.386 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.35, allocations: 0 / 1.386 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.35, allocations: 0 / 1.386 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006845/1.351, allocations: 417 kB / 1.386 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/1.351, allocations: 158.6 kB / 1.386 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/1.351, allocations: 7.156 kB / 1.386 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/1.351, allocations: 30.53 kB / 1.386 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-05/1.352, allocations: 19.03 kB / 1.386 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/1.352, allocations: 3.844 kB / 1.386 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004362/1.352, allocations: 323.2 kB / 1.386 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.61e-07/1.352, allocations: 0 / 1.386 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004444/1.352, allocations: 99.83 kB / 1.387 GB, free: 29.75 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002013/1.354, allocations: 1.244 MB / 1.388 GB, free: 29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004767/1.355, allocations: 210.5 kB / 1.388 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.355, allocations: 0 / 1.388 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/1.355, allocations: 113.4 kB / 1.388 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/1.356, allocations: 92.8 kB / 1.388 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/1.357, allocations: 0.6055 MB / 1.389 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006858/1.358, allocations: 0.8211 MB / 1.39 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002655/1.358, allocations: 61.55 kB / 1.39 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/1.359, allocations: 146.9 kB / 1.39 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/1.359, allocations: 0 / 1.39 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/1.382, allocations: 8.769 MB / 1.398 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/1.383, allocations: 229.6 kB / 1.399 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.421/3.803, allocations: 0 / 1.399 GB, free: 23.46 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat does not exist to compare? outputFormat=mat