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: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001117, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001108/0.001108, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.08 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.437/2.437, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 71.89 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7251/0.7265, allocations: 151.6 MB / 1.167 GB, free: 4 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004265/0.7308, allocations: 2.921 MB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002571/0.7334, allocations: 1.516 MB / 1.172 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002483/0.7336, allocations: 11.94 kB / 1.172 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.734, allocations: 107.1 kB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003705/0.7345, allocations: 147.1 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009177/0.7354, allocations: 403.8 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005519/0.7359, allocations: 0.5344 MB / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.7363, allocations: 206 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.7365, allocations: 215.1 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.7368, allocations: 199 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.898e-05/0.7369, allocations: 40 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.737, allocations: 91.97 kB / 1.174 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.7372, allocations: 119.5 kB / 1.174 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.7374, allocations: 210.8 kB / 1.174 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006542/0.738, allocations: 0.6039 MB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.738, allocations: 0 / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.12e-07/0.7381, allocations: 0 / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.7381, allocations: 0 / 1.174 GB, free: 12.68 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.001164/0.7392, allocations: 0.815 MB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.7393, allocations: 8.031 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.7394, allocations: 52.61 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006363/0.74, allocations: 442.8 kB / 1.176 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.7401, allocations: 24.94 kB / 1.176 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.381e-05/0.7401, allocations: 39.88 kB / 1.176 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005663/0.7407, allocations: 323.9 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.7407, allocations: 0 / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.7408, allocations: 15.94 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.7408, allocations: 8 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004974/0.7413, allocations: 214.1 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.7426, allocations: 1.093 MB / 1.177 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006063/0.7432, allocations: 238.9 kB / 1.178 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.7435, allocations: 112.8 kB / 1.178 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.7435, allocations: 7.969 kB / 1.178 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000329/0.7438, allocations: 159.2 kB / 1.178 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=23): time 1.974e-06/0.7439, allocations: 4 kB / 1.178 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.000829/0.7447, allocations: 355.2 kB / 1.178 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.7448, allocations: 102.8 kB / 1.178 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/0.7452, allocations: 449.9 kB / 1.179 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.7453, allocations: 33.7 kB / 1.179 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.7455, allocations: 236.7 kB / 1.179 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.281e-05/0.7455, allocations: 71.38 kB / 1.179 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.984e-05/0.7456, allocations: 53.7 kB / 1.179 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.7458, allocations: 354.8 kB / 1.179 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.746, allocations: 83.95 kB / 1.18 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.7463, allocations: 163.6 kB / 1.18 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000458/0.7467, allocations: 219.7 kB / 1.18 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7467, allocations: 0 / 1.18 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006067/0.7474, allocations: 301 kB / 1.18 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.7474, allocations: 8.156 kB / 1.18 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.7474, allocations: 7.938 kB / 1.18 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.7474, allocations: 0 / 1.18 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.7477, allocations: 51.91 kB / 1.18 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.7477, allocations: 7.984 kB / 1.18 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.7479, allocations: 31.78 kB / 1.18 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.7479, allocations: 15.98 kB / 1.18 GB, free: 6.34 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.0001822/0.7481, allocations: 183 kB / 1.18 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.7482, allocations: 51.66 kB / 1.181 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.983e-05/0.7483, allocations: 39.84 kB / 1.181 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.7483, allocations: 3.984 kB / 1.181 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7483, allocations: 0 / 1.181 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.7484, allocations: 144.7 kB / 1.181 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.283e-05/0.7485, allocations: 4 kB / 1.181 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.7487, allocations: 15.98 kB / 1.181 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.7488, allocations: 19.97 kB / 1.181 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007022/0.7495, allocations: 347.8 kB / 1.181 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008907/0.7504, allocations: 0.5607 MB / 1.182 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002337/0.7506, allocations: 110.4 kB / 1.182 GB, free: 4.832 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003364/0.751, allocations: 323.1 kB / 1.182 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of Backend: time 5.01e-07/0.751, allocations: 0 / 1.182 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001596/0.7526, allocations: 0.5459 MB / 1.183 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001355/0.7539, allocations: 1.159 MB / 1.184 GB, free: 2.93 MB / 0.9044 GB Notification: Performance of Templates: time 0.009901/0.7638, allocations: 5.336 MB / 1.189 GB, free: 13.65 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (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 & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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