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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: 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_9_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_9_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.00917/0.00917, allocations: 104.3 kB / 15.74 MB, free: 5.598 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.001733/0.001733, allocations: 191.8 kB / 16.67 MB, free: 5.527 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.271/2.271, allocations: 390.2 MB / 0.6648 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 55.91 kB / 0.9508 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8441/0.8464, allocations: 140.4 MB / 1.088 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004156/0.8506, allocations: 2.926 MB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003616/0.8543, allocations: 1.517 MB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006399/0.855, allocations: 12.47 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005774/0.8556, allocations: 104.7 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006835/0.8563, allocations: 135.6 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.858, allocations: 411.8 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001068/0.8591, allocations: 0.5325 MB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005047/0.8596, allocations: 210.7 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004639/0.8601, allocations: 209.8 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003734/0.8605, allocations: 195.6 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.8606, allocations: 41.44 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.861, allocations: 106 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.8612, allocations: 104.8 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.8615, allocations: 213.5 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.8628, allocations: 0.5969 MB / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8628, allocations: 4.656 kB / 1.095 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8628, allocations: 0.8438 kB / 1.095 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.8628, allocations: 0 / 1.095 GB, free: 1.188 MB / 0.8575 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.00176/0.8646, allocations: 0.7912 MB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.8646, allocations: 14.69 kB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.8648, allocations: 48.66 kB / 1.096 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008712/0.8657, allocations: 445.7 kB / 1.096 GB, free: 184 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.589e-05/0.8658, allocations: 20.94 kB / 1.096 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.542e-05/0.8658, allocations: 30.14 kB / 1.096 GB, free: 164 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009175/0.8668, allocations: 331.3 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.8668, allocations: 0 / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/0.8669, allocations: 11.77 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.8669, allocations: 6.812 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008372/0.8677, allocations: 215.3 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.87, allocations: 1.09 MB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009706/0.871, allocations: 244.5 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003807/0.8714, allocations: 113.5 kB / 1.098 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.8714, allocations: 7.375 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004754/0.8719, allocations: 154.9 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=23): time 6.011e-06/0.872, allocations: 0 / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.001422/0.8734, allocations: 352.3 kB / 1.099 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.798e-05/0.8735, allocations: 114.5 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008632/0.8744, allocations: 458.9 kB / 1.099 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/0.8744, allocations: 27.3 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.8747, allocations: 228.9 kB / 1.1 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.976e-05/0.8748, allocations: 74.09 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.875, allocations: 57.52 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.8751, allocations: 354.7 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.8755, allocations: 86.8 kB / 1.1 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/0.8759, allocations: 160.2 kB / 1.1 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/0.8766, allocations: 223.6 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.8767, allocations: 0 / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009808/0.8776, allocations: 308.5 kB / 1.101 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.8777, allocations: 6.344 kB / 1.101 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.8777, allocations: 2.531 kB / 1.101 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.8777, allocations: 1.812 kB / 1.101 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.8781, allocations: 51.28 kB / 1.101 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.8781, allocations: 2.609 kB / 1.101 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.8784, allocations: 34.61 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.8785, allocations: 12.25 kB / 1.101 GB, free: 13.26 MB / 0.8731 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.0002871/0.8788, allocations: 179.3 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.519e-05/0.8789, allocations: 43.98 kB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.879, allocations: 46.95 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.8791, allocations: 2.062 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.8791, allocations: 1.609 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.8791, allocations: 1.266 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007094/0.8798, allocations: 409.3 kB / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.8798, allocations: 8.547 kB / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.8802, allocations: 38.42 kB / 1.102 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/0.8802, allocations: 1.156 kB / 1.102 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.8802, allocations: 11.97 kB / 1.102 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.8802, allocations: 1 kB / 1.102 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8802, allocations: 0.9688 kB / 1.102 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.8814, allocations: 423.2 kB / 1.102 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.8816, allocations: 144.5 kB / 1.102 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.742e-05/0.8817, allocations: 6.531 kB / 1.102 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.882, allocations: 15.12 kB / 1.102 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.8821, allocations: 19.23 kB / 1.102 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.8821, allocations: 7.625 kB / 1.102 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000645/0.8828, allocations: 318 kB / 1.102 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.1e-07/0.8828, allocations: 4.062 kB / 1.102 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006078/0.8834, allocations: 73.14 kB / 1.103 GB, free: 12.22 MB / 0.8731 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.001359/0.8848, allocations: 435.1 kB / 1.103 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.8858, allocations: 221.1 kB / 1.103 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8859, allocations: 4.062 kB / 1.103 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000488/0.8864, allocations: 115 kB / 1.103 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008649/0.8872, allocations: 112.1 kB / 1.103 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.889, allocations: 0.6828 MB / 1.104 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.8896, allocations: 0.8107 MB / 1.105 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003066/0.8899, allocations: 54.67 kB / 1.105 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.89, allocations: 37.36 kB / 1.105 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/0.8901, allocations: 0 / 1.105 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of Templates: time 0.01622/0.9063, allocations: 4.872 MB / 1.11 GB, free: 10.33 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (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 & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches