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.001375/0.001375, allocations: 109.5 kB / 16.41 MB, free: 6.488 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.001449/0.001449, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.517/1.517, allocations: 222.9 MB / 241 MB, free: 15.13 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.315/2.315, allocations: 390.2 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 67.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068/1.069, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005149/1.074, allocations: 2.916 MB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003165/1.078, allocations: 1.522 MB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005231/1.078, allocations: 11.78 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005412/1.079, allocations: 109.1 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004594/1.079, allocations: 139 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/1.08, allocations: 410.5 kB / 1.094 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007862/1.081, allocations: 0.5373 MB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004213/1.082, allocations: 206.3 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003558/1.082, allocations: 205 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003149/1.082, allocations: 200.7 kB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.239e-05/1.082, allocations: 41.5 kB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002985/1.083, allocations: 102 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001575/1.083, allocations: 107.9 kB / 1.095 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002075/1.083, allocations: 209.6 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009802/1.084, allocations: 0.5972 MB / 1.096 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.084, allocations: 1 kB / 1.096 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/1.084, allocations: 0 / 1.096 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.131e-05/1.084, allocations: 0 / 1.096 GB, free: 0.9062 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.0014/1.086, allocations: 0.7998 MB / 1.096 GB, free: 264 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/1.086, allocations: 9.281 kB / 1.097 GB, free: 264 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/1.086, allocations: 50.36 kB / 1.097 GB, free: 240 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008408/1.087, allocations: 449.4 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/1.087, allocations: 24.44 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.351e-05/1.087, allocations: 30.73 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000769/1.087, allocations: 327 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/1.088, allocations: 0 / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/1.088, allocations: 11.77 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/1.088, allocations: 7.188 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000587/1.088, allocations: 211.4 kB / 1.098 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/1.09, allocations: 1.102 MB / 1.099 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006958/1.091, allocations: 235.9 kB / 1.099 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/1.091, allocations: 113.9 kB / 1.099 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/1.091, allocations: 3.078 kB / 1.099 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003924/1.091, allocations: 156.9 kB / 1.099 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=23): time 4.328e-06/1.091, allocations: 0 / 1.099 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.000985/1.092, allocations: 354.7 kB / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/1.093, allocations: 107 kB / 1.1 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006688/1.093, allocations: 454.2 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/1.093, allocations: 30.8 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/1.094, allocations: 234.2 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.344e-05/1.094, allocations: 70.64 kB / 1.1 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/1.094, allocations: 60.48 kB / 1.1 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001901/1.094, allocations: 350.8 kB / 1.101 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/1.094, allocations: 83.62 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/1.094, allocations: 159.8 kB / 1.101 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005171/1.095, allocations: 228.2 kB / 1.101 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.095, allocations: 0 / 1.101 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000718/1.096, allocations: 299.9 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.096, allocations: 10.77 kB / 1.101 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.096, allocations: 0.9688 kB / 1.101 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/1.096, allocations: 2.938 kB / 1.101 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/1.096, allocations: 55.5 kB / 1.102 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.096, allocations: 2.562 kB / 1.102 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/1.096, allocations: 30.48 kB / 1.102 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/1.096, allocations: 8.703 kB / 1.102 GB, free: 12.99 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.0002398/1.097, allocations: 186.8 kB / 1.102 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.674e-05/1.097, allocations: 46.91 kB / 1.102 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/1.097, allocations: 47.59 kB / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/1.097, allocations: 6.469 kB / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.097, allocations: 1.703 kB / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.097, allocations: 0.8438 kB / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005969/1.097, allocations: 409.5 kB / 1.102 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.097, allocations: 4.641 kB / 1.102 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/1.098, allocations: 42.88 kB / 1.102 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/1.098, allocations: 1.094 kB / 1.102 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/1.098, allocations: 11.3 kB / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/1.098, allocations: 1.953 kB / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.098, allocations: 0 / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009627/1.099, allocations: 419.5 kB / 1.103 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/1.099, allocations: 139.6 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.913e-05/1.099, allocations: 11.81 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/1.099, allocations: 12.94 kB / 1.103 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/1.099, allocations: 20.09 kB / 1.103 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/1.099, allocations: 6.766 kB / 1.103 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004438/1.1, allocations: 318.1 kB / 1.103 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.1, allocations: 0.6875 kB / 1.103 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004126/1.1, allocations: 73.3 kB / 1.103 GB, free: 11.94 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.001233/1.101, allocations: 447.7 kB / 1.104 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007293/1.102, allocations: 223.3 kB / 1.104 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.102, allocations: 0.5 kB / 1.104 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003202/1.102, allocations: 108 kB / 1.104 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006266/1.103, allocations: 120.1 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/1.105, allocations: 0.7004 MB / 1.105 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/1.105, allocations: 0.8158 MB / 1.106 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/1.105, allocations: 39.11 kB / 1.106 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/1.105, allocations: 0 / 1.106 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of Templates: time 0.01315/1.118, allocations: 5.666 MB / 1.111 GB, free: 9.746 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/jenkins1/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