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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009907/0.0009906, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001221/0.001221, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.655/2.655, allocations: 437.7 MB / 0.7117 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005049/0.0005049, allocations: 8 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6084/0.6089, allocations: 153.8 MB / 1.022 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003208/0.6121, allocations: 2.472 MB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00244/0.6146, allocations: 1.4 MB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.6149, allocations: 11.94 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.6152, allocations: 79.52 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.6155, allocations: 107.3 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008255/0.6164, allocations: 322.8 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005214/0.6169, allocations: 471.3 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.6172, allocations: 144.3 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.6174, allocations: 147.2 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.6176, allocations: 147.1 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.6177, allocations: 8 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.6178, allocations: 55.98 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.252e-05/0.6179, allocations: 71.61 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.919e-05/0.618, allocations: 97.45 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004117/0.6184, allocations: 448.8 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6184, allocations: 0 / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6185, allocations: 4 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.6185, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 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.001078/0.6195, allocations: 0.722 MB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.6196, allocations: 8.562 kB / 1.029 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.938e-05/0.6197, allocations: 51.34 kB / 1.029 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005716/0.6203, allocations: 421.5 kB / 1.029 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.6203, allocations: 24.56 kB / 1.029 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.6204, allocations: 27.95 kB / 1.029 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005956/0.621, allocations: 335.9 kB / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.621, allocations: 0 / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.621, allocations: 12 kB / 1.03 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.621, allocations: 4 kB / 1.03 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.6215, allocations: 218.1 kB / 1.03 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.6229, allocations: 1.105 MB / 1.031 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005879/0.6235, allocations: 249.4 kB / 1.031 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.6237, allocations: 117.2 kB / 1.031 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.6237, allocations: 192 / 1.031 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003721/0.6241, allocations: 165 kB / 1.032 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.823e-06/0.6241, allocations: 0 / 1.032 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0008295/0.625, allocations: 367.2 kB / 1.032 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.625, allocations: 102.8 kB / 1.032 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004865/0.6255, allocations: 445.9 kB / 1.032 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.6256, allocations: 33.7 kB / 1.032 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.6257, allocations: 236.3 kB / 1.033 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.501e-05/0.6258, allocations: 67 kB / 1.033 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/0.6258, allocations: 8 kB / 1.033 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.626, allocations: 358.8 kB / 1.033 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.6262, allocations: 87.95 kB / 1.033 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.6264, allocations: 163.6 kB / 1.033 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.6267, allocations: 95.91 kB / 1.033 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.6267, allocations: 8 kB / 1.033 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005853/0.6273, allocations: 298 kB / 1.034 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.6273, allocations: 4 kB / 1.034 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.6273, allocations: 4.156 kB / 1.034 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.6274, allocations: 8 kB / 1.034 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.6276, allocations: 55.91 kB / 1.034 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.6276, allocations: 7.969 kB / 1.034 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.6278, allocations: 31.75 kB / 1.034 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.6279, allocations: 7.984 kB / 1.034 GB, free: 4.156 MB / 0.7794 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 ($whenCondition1,$PRE.cooMod.combiTimeTable.nextTimeEvent,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002031/0.6281, allocations: 182.6 kB / 1.034 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.6281, allocations: 51.39 kB / 1.034 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.585e-05/0.6282, allocations: 43.84 kB / 1.034 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.6283, allocations: 4 kB / 1.034 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.6283, allocations: 3.938 kB / 1.034 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.6283, allocations: 3.984 kB / 1.034 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.6287, allocations: 405.4 kB / 1.034 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6287, allocations: 0 / 1.034 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.6289, allocations: 39.98 kB / 1.035 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.6289, allocations: 7.891 kB / 1.035 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.629, allocations: 11.98 kB / 1.035 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.629, allocations: 4 kB / 1.035 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.629, allocations: 0 / 1.035 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008402/0.6298, allocations: 431 kB / 1.035 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.63, allocations: 144.5 kB / 1.035 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/0.63, allocations: 11.95 kB / 1.035 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.6302, allocations: 15.98 kB / 1.035 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.6303, allocations: 15.97 kB / 1.035 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.6303, allocations: 15.98 kB / 1.035 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003426/0.6307, allocations: 315.2 kB / 1.035 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6307, allocations: 0 / 1.035 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00035/0.631, allocations: 79.83 kB / 1.036 GB, free: 2.309 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009918/0.632, allocations: 449 kB / 1.036 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005636/0.6326, allocations: 227.6 kB / 1.036 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6326, allocations: 0 / 1.036 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.6329, allocations: 122.1 kB / 1.036 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005451/0.6334, allocations: 90.97 kB / 1.036 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.6347, allocations: 0.7835 MB / 1.037 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.6351, allocations: 0.8074 MB / 1.038 GB, free: 15.95 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002146/0.6353, allocations: 55.19 kB / 1.038 GB, free: 15.89 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.388e-05/0.6354, allocations: 39.36 kB / 1.038 GB, free: 15.86 MB / 0.795 GB Notification: Performance of SimCode: time 3.61e-07/0.6354, allocations: 0 / 1.038 GB, free: 15.86 MB / 0.795 GB Notification: Performance of Templates: time 0.00884/0.6442, allocations: 4.353 MB / 1.042 GB, free: 11.59 MB / 0.795 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/jenkins/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