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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.4 MB / 0.6655 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.000375, allocations: 8 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.745/0.7454, allocations: 142.3 MB / 0.9539 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003234/0.7487, allocations: 2.477 MB / 0.9563 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002448/0.7511, allocations: 1.39 MB / 0.9576 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004425/0.7516, allocations: 12.16 kB / 0.9576 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004294/0.7521, allocations: 80.53 kB / 0.9577 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004417/0.7525, allocations: 107.2 kB / 0.9578 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.7535, allocations: 324.1 kB / 0.9581 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006686/0.7542, allocations: 461 kB / 0.9586 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000286/0.7545, allocations: 147.6 kB / 0.9587 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002407/0.7548, allocations: 146.3 kB / 0.9589 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.7549, allocations: 146.7 kB / 0.959 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.755, allocations: 9.625 kB / 0.959 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.7552, allocations: 59.66 kB / 0.9591 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.006e-05/0.7553, allocations: 66.94 kB / 0.9591 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.49e-05/0.7554, allocations: 94.08 kB / 0.9592 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.7557, allocations: 455.2 kB / 0.9596 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7557, allocations: 4 kB / 0.9596 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7558, allocations: 0 / 0.9596 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.7558, allocations: 0 / 0.9596 GB, free: 3.621 MB / 0.7169 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.0009921/0.7568, allocations: 0.7192 MB / 0.9604 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.7568, allocations: 9.375 kB / 0.9604 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.868e-05/0.7569, allocations: 67.39 kB / 0.9604 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.888e-05/0.757, allocations: 52.53 kB / 0.9605 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005132/0.7575, allocations: 419.7 kB / 0.9609 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.7575, allocations: 20.03 kB / 0.9609 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.7576, allocations: 26.19 kB / 0.9609 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/0.7581, allocations: 330 kB / 0.9612 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.7581, allocations: 1.125 kB / 0.9612 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.7582, allocations: 14.59 kB / 0.9612 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.7582, allocations: 18.14 kB / 0.9613 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/0.7586, allocations: 215.9 kB / 0.9615 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.7599, allocations: 1.098 MB / 0.9625 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009129/0.7608, allocations: 245.4 kB / 0.9628 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.7611, allocations: 116.2 kB / 0.9629 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.7612, allocations: 7.797 kB / 0.9629 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004793/0.7617, allocations: 162.3 kB / 0.9631 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 2.465e-06/0.7617, allocations: 0 / 0.9631 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.001127/0.7628, allocations: 365.2 kB / 0.9634 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.7629, allocations: 109.6 kB / 0.9635 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006221/0.7635, allocations: 442 kB / 0.9639 GB, free: 300 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.7636, allocations: 31.89 kB / 0.964 GB, free: 264 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.7638, allocations: 240.6 kB / 0.9642 GB, free: 44 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.166e-05/0.7639, allocations: 64.25 kB / 0.9642 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.7639, allocations: 5.094 kB / 0.9643 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.7641, allocations: 357.3 kB / 0.9646 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.7644, allocations: 89.36 kB / 0.9647 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.7648, allocations: 164.2 kB / 0.9648 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.7651, allocations: 94.23 kB / 0.9649 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.7651, allocations: 1.438 kB / 0.9649 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008593/0.766, allocations: 307.8 kB / 0.9652 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.766, allocations: 5.688 kB / 0.9652 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.7661, allocations: 2.344 kB / 0.9652 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.7661, allocations: 6.781 kB / 0.9652 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.7664, allocations: 60.12 kB / 0.9653 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.7665, allocations: 1.75 kB / 0.9653 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.7667, allocations: 33.64 kB / 0.9653 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.7668, allocations: 10.97 kB / 0.9653 GB, free: 15.21 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0002768/0.7671, allocations: 180.7 kB / 0.9655 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/0.7672, allocations: 39.25 kB / 0.9655 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.7673, allocations: 50.14 kB / 0.9656 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.7673, allocations: 7.531 kB / 0.9656 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.7673, allocations: 3.953 kB / 0.9656 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.7673, allocations: 0 / 0.9656 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005727/0.7679, allocations: 412.5 kB / 0.966 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.7679, allocations: 1.281 kB / 0.966 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.7682, allocations: 39.88 kB / 0.966 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.7682, allocations: 2.031 kB / 0.966 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.7683, allocations: 5.969 kB / 0.966 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.7683, allocations: 5.016 kB / 0.966 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.7683, allocations: 4 kB / 0.9661 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.7696, allocations: 439.1 kB / 0.9665 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.7698, allocations: 144.1 kB / 0.9666 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.667e-05/0.7699, allocations: 6.844 kB / 0.9666 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.7701, allocations: 16.23 kB / 0.9666 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.7702, allocations: 20.59 kB / 0.9666 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.7703, allocations: 6.406 kB / 0.9667 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00057/0.7709, allocations: 320.1 kB / 0.967 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7709, allocations: 0 / 0.967 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005987/0.7715, allocations: 84.16 kB / 0.967 GB, free: 13.96 MB / 0.7325 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.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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.003089/0.7746, allocations: 1.292 MB / 0.9683 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008697/0.7755, allocations: 229.5 kB / 0.9685 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.7755, allocations: 0 / 0.9685 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.7759, allocations: 118.6 kB / 0.9686 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008444/0.7768, allocations: 98.52 kB / 0.9687 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005826/0.7826, allocations: 2.287 MB / 0.971 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005394/0.7832, allocations: 0.816 MB / 0.9718 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003343/0.7835, allocations: 51.3 kB / 0.9718 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/0.7838, allocations: 141.9 kB / 0.9719 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of SimCode: time 1.102e-06/0.7839, allocations: 0 / 0.9719 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.8058, allocations: 8.341 MB / 0.9801 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.8061, allocations: 285.1 kB / 0.9804 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.983/2.789, allocations: 0 / 0.9804 GB, free: 4.758 MB / 0.7325 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