Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_10_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.004594/0.004594, allocations: 97.98 kB / 15.73 MB, free: 5.602 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.001352/0.001352, allocations: 195.5 kB / 16.68 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.28/2.28, allocations: 437.1 MB / 0.7105 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 71.83 kB / 1.018 GB, free: 9.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.595/0.5967, allocations: 151.6 MB / 1.166 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003886/0.6006, allocations: 2.938 MB / 1.169 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.6028, allocations: 1.504 MB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.6029, allocations: 11.94 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.6033, allocations: 107.1 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.6036, allocations: 147 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007775/0.6044, allocations: 401.6 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005113/0.6049, allocations: 0.5421 MB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.6052, allocations: 201.1 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.6055, allocations: 203.1 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.6057, allocations: 195 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.878e-05/0.6058, allocations: 40 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.6059, allocations: 107.9 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.6061, allocations: 103.7 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.6063, allocations: 214.7 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006028/0.6069, allocations: 0.6026 MB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.6069, allocations: 0 / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.133e-06/0.6069, allocations: 0 / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.6069, allocations: 0 / 1.173 GB, free: 12.42 MB / 0.9044 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.001106/0.608, allocations: 0.8073 MB / 1.174 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.608, allocations: 12.86 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.509e-05/0.6081, allocations: 70.66 kB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.375e-05/0.6082, allocations: 56.61 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005858/0.6088, allocations: 438.8 kB / 1.175 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.6088, allocations: 28.69 kB / 1.175 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/0.6089, allocations: 31.89 kB / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005562/0.6094, allocations: 331.9 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.6095, allocations: 4 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.6095, allocations: 8 kB / 1.175 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.6095, allocations: 11.94 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004553/0.61, allocations: 206.1 kB / 1.175 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.6112, allocations: 1.097 MB / 1.176 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005629/0.6118, allocations: 238.9 kB / 1.177 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.612, allocations: 108.8 kB / 1.177 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.6121, allocations: 4 kB / 1.177 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003145/0.6124, allocations: 159.1 kB / 1.177 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=23): time 1.442e-06/0.6124, allocations: 0 / 1.177 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.0007792/0.6132, allocations: 355.5 kB / 1.177 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.6133, allocations: 106.8 kB / 1.177 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004727/0.6137, allocations: 457.8 kB / 1.178 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.6138, allocations: 29.7 kB / 1.178 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.614, allocations: 228.7 kB / 1.178 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.614, allocations: 79.31 kB / 1.178 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.978e-05/0.6141, allocations: 65.62 kB / 1.178 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.6143, allocations: 350.8 kB / 1.178 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.6145, allocations: 79.95 kB / 1.178 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.6148, allocations: 172.1 kB / 1.179 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004308/0.6152, allocations: 213 kB / 1.179 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.6152, allocations: 0 / 1.179 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005668/0.6158, allocations: 304.2 kB / 1.179 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.6158, allocations: 8 kB / 1.179 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.6158, allocations: 0 / 1.179 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.6158, allocations: 8.156 kB / 1.179 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.6161, allocations: 55.91 kB / 1.179 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.6161, allocations: 0 / 1.179 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.6162, allocations: 39.7 kB / 1.179 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.6163, allocations: 8 kB / 1.179 GB, free: 6.008 MB / 0.9044 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 ($PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition1,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent,cooMod.y,cooTowSpeCon.fmcMod.y,cooTowSpeCon.pmcMod.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.6164, allocations: 178.5 kB / 1.179 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/0.6165, allocations: 47.66 kB / 1.179 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.847e-05/0.6166, allocations: 55.83 kB / 1.179 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.6166, allocations: 0 / 1.179 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.6166, allocations: 3.938 kB / 1.179 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6166, allocations: 0 / 1.179 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/0.617, allocations: 413.2 kB / 1.18 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.617, allocations: 8 kB / 1.18 GB, free: 5.258 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.6172, allocations: 31.97 kB / 1.18 GB, free: 5.227 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.6172, allocations: 4 kB / 1.18 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.6173, allocations: 7.984 kB / 1.18 GB, free: 5.215 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6173, allocations: 0 / 1.18 GB, free: 5.215 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6173, allocations: 4 kB / 1.18 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007932/0.6181, allocations: 428.3 kB / 1.18 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.6182, allocations: 140.8 kB / 1.18 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.6183, allocations: 4 kB / 1.18 GB, free: 4.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.6184, allocations: 20.05 kB / 1.181 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.6185, allocations: 19.97 kB / 1.181 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.6185, allocations: 4 kB / 1.181 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003214/0.6188, allocations: 319.1 kB / 1.181 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6188, allocations: 0 / 1.181 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002841/0.6191, allocations: 83.77 kB / 1.181 GB, free: 4.184 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002341/0.6215, allocations: 1.292 MB / 1.182 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005005/0.622, allocations: 222.5 kB / 1.182 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.622, allocations: 4.062 kB / 1.182 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.6222, allocations: 115.9 kB / 1.182 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.6227, allocations: 98.78 kB / 1.183 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004247/0.627, allocations: 3.423 MB / 1.186 GB, free: 15.06 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.6274, allocations: 0.8187 MB / 1.187 GB, free: 14.21 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002064/0.6276, allocations: 51.27 kB / 1.187 GB, free: 14.16 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.6278, allocations: 143.4 kB / 1.187 GB, free: 14.02 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.6278, allocations: 0 / 1.187 GB, free: 14.02 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.202/5.83, allocations: 9.008 MB / 1.196 GB, free: 5.207 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/18.99, allocations: 7.688 kB / 1.196 GB, free: 5.203 MB / 0.92 GB (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches