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.001989/0.001989, allocations: 108.6 kB / 16.41 MB, free: 6.496 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.002222/0.002222, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.492/1.492, allocations: 222.9 MB / 241 MB, free: 15.1 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.501/2.501, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155/1.157, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005485/1.162, allocations: 2.932 MB / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003674/1.166, allocations: 1.508 MB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008771/1.167, allocations: 11.94 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006487/1.167, allocations: 107.2 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008204/1.168, allocations: 147.1 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00171/1.17, allocations: 416.5 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001269/1.171, allocations: 0.5305 MB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004823/1.172, allocations: 209.7 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003495/1.172, allocations: 199.1 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002999/1.172, allocations: 207 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.513e-05/1.173, allocations: 40 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/1.173, allocations: 95.95 kB / 1.174 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/1.173, allocations: 107.6 kB / 1.174 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002335/1.173, allocations: 214.7 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008428/1.174, allocations: 0.6012 MB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/1.174, allocations: 0 / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.014e-06/1.174, allocations: 0 / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.386e-05/1.174, allocations: 4 kB / 1.174 GB, free: 12.56 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.001531/1.176, allocations: 0.7882 MB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/1.176, allocations: 8.031 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/1.176, allocations: 56.3 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008311/1.177, allocations: 450.4 kB / 1.176 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/1.177, allocations: 20.94 kB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/1.177, allocations: 27.94 kB / 1.176 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006134/1.177, allocations: 331.9 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/1.177, allocations: 3.938 kB / 1.176 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/1.177, allocations: 12 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/1.178, allocations: 12 kB / 1.176 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005093/1.178, allocations: 210.1 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/1.18, allocations: 1.096 MB / 1.177 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006369/1.18, allocations: 242.8 kB / 1.178 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/1.18, allocations: 108.8 kB / 1.178 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/1.181, allocations: 4 kB / 1.178 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003697/1.181, allocations: 159.2 kB / 1.178 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=23): time 1.674e-06/1.181, allocations: 0 / 1.178 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.000881/1.182, allocations: 351.1 kB / 1.178 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.395e-05/1.182, allocations: 106.8 kB / 1.178 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005891/1.183, allocations: 457.8 kB / 1.179 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/1.183, allocations: 29.7 kB / 1.179 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/1.183, allocations: 232.5 kB / 1.179 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.166e-05/1.183, allocations: 75 kB / 1.179 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/1.183, allocations: 57.59 kB / 1.179 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001855/1.183, allocations: 350.8 kB / 1.179 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/1.183, allocations: 83.95 kB / 1.179 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/1.184, allocations: 163.7 kB / 1.18 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/1.184, allocations: 219.6 kB / 1.18 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/1.184, allocations: 0 / 1.18 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006214/1.185, allocations: 300 kB / 1.18 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/1.185, allocations: 8.156 kB / 1.18 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.185, allocations: 4 kB / 1.18 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/1.185, allocations: 4 kB / 1.18 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/1.185, allocations: 51.91 kB / 1.18 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/1.185, allocations: 7.938 kB / 1.18 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/1.185, allocations: 31.73 kB / 1.18 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/1.185, allocations: 8 kB / 1.18 GB, free: 6.262 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.0002324/1.186, allocations: 183.2 kB / 1.18 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/1.186, allocations: 47.47 kB / 1.18 GB, free: 6.027 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.878e-05/1.186, allocations: 51.77 kB / 1.181 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/1.186, allocations: 4 kB / 1.181 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.186, allocations: 0 / 1.181 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.186, allocations: 0 / 1.181 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004965/1.186, allocations: 409.3 kB / 1.181 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.186, allocations: 3.938 kB / 1.181 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/1.187, allocations: 35.97 kB / 1.181 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/1.187, allocations: 0 / 1.181 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/1.187, allocations: 11.94 kB / 1.181 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/1.187, allocations: 8 kB / 1.181 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.187, allocations: 3.984 kB / 1.181 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008778/1.187, allocations: 416.2 kB / 1.181 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/1.188, allocations: 148.5 kB / 1.182 GB, free: 4.871 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/1.188, allocations: 8.062 kB / 1.182 GB, free: 4.863 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/1.188, allocations: 11.98 kB / 1.182 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/1.188, allocations: 15.98 kB / 1.182 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/1.188, allocations: 11.98 kB / 1.182 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003663/1.188, allocations: 315.1 kB / 1.182 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.188, allocations: 4 kB / 1.182 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003666/1.189, allocations: 79.83 kB / 1.182 GB, free: 4.441 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.001229/1.19, allocations: 443.7 kB / 1.182 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005964/1.191, allocations: 222.1 kB / 1.183 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.191, allocations: 0 / 1.183 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002599/1.191, allocations: 115.9 kB / 1.183 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/1.191, allocations: 111.6 kB / 1.183 GB, free: 3.73 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/1.193, allocations: 0.71 MB / 1.183 GB, free: 2.992 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005541/1.194, allocations: 0.8187 MB / 1.184 GB, free: 2.145 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/1.194, allocations: 35.42 kB / 1.184 GB, free: 2.109 MB / 0.9044 GB Notification: Performance of SimCode: time 3.5e-07/1.194, allocations: 4 kB / 1.184 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of Templates: time 0.01147/1.205, allocations: 5.653 MB / 1.19 GB, free: 12.48 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