Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.009171/0.009171, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001845/0.001845, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.753/2.753, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 67.91 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3221, allocations: 157.4 MB / 1.208 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004672/0.3268, allocations: 2.928 MB / 1.211 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003056/0.3299, allocations: 1.516 MB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003881/0.3303, allocations: 11.94 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.3308, allocations: 107.2 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003913/0.3312, allocations: 135 kB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.3323, allocations: 425.5 kB / 1.213 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006214/0.3329, allocations: 0.5305 MB / 1.213 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003411/0.3333, allocations: 209.7 kB / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000274/0.3335, allocations: 207.1 kB / 1.214 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.3338, allocations: 203 kB / 1.214 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.406e-05/0.3339, allocations: 40 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.3341, allocations: 91.97 kB / 1.214 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.3342, allocations: 103.6 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.3344, allocations: 210.8 kB / 1.214 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006349/0.335, allocations: 0.6072 MB / 1.215 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.335, allocations: 4 kB / 1.215 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.335, allocations: 0 / 1.215 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.3351, allocations: 0 / 1.215 GB, free: 2.352 MB / 0.9669 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.001275/0.3363, allocations: 0.7882 MB / 1.216 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3364, allocations: 11.97 kB / 1.216 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.3365, allocations: 60.27 kB / 1.216 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006708/0.3372, allocations: 442.5 kB / 1.216 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.3372, allocations: 20.94 kB / 1.216 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/0.3373, allocations: 27.94 kB / 1.216 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/0.3379, allocations: 327.9 kB / 1.216 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3379, allocations: 0 / 1.216 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.3379, allocations: 16 kB / 1.216 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.3379, allocations: 8 kB / 1.216 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004806/0.3384, allocations: 214.1 kB / 1.217 GB, free: 344 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.3398, allocations: 1.092 MB / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006162/0.3404, allocations: 238.9 kB / 1.218 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.3407, allocations: 112.8 kB / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.3407, allocations: 4 kB / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004211/0.3411, allocations: 155.3 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 2.024e-06/0.3411, allocations: 0 / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0008428/0.342, allocations: 355.4 kB / 1.219 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.3421, allocations: 106.8 kB / 1.219 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004947/0.3426, allocations: 453.9 kB / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.3426, allocations: 29.7 kB / 1.219 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.3428, allocations: 232.5 kB / 1.219 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.648e-05/0.3428, allocations: 70.92 kB / 1.219 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.3429, allocations: 61.69 kB / 1.219 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002225/0.3432, allocations: 346.8 kB / 1.22 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.3434, allocations: 87.95 kB / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.3438, allocations: 165.3 kB / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005452/0.3443, allocations: 227.7 kB / 1.22 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3444, allocations: 0 / 1.22 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006349/0.345, allocations: 300.8 kB / 1.221 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.345, allocations: 8 kB / 1.221 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.345, allocations: 0 / 1.221 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.3451, allocations: 4 kB / 1.221 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.3453, allocations: 51.91 kB / 1.221 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.3453, allocations: 4 kB / 1.221 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.3455, allocations: 35.67 kB / 1.221 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.3456, allocations: 8.156 kB / 1.221 GB, free: 12.05 MB / 0.9825 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.0003301/0.3459, allocations: 182.2 kB / 1.221 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.494e-05/0.346, allocations: 47.38 kB / 1.221 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.3461, allocations: 47.83 kB / 1.221 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.3461, allocations: 4 kB / 1.221 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3461, allocations: 4 kB / 1.221 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3461, allocations: 0 / 1.221 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.3466, allocations: 409.3 kB / 1.221 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.3466, allocations: 3.938 kB / 1.221 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.3468, allocations: 43.97 kB / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3469, allocations: 0 / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.3469, allocations: 8 kB / 1.221 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3469, allocations: 0 / 1.221 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3469, allocations: 7.922 kB / 1.221 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.348, allocations: 418.7 kB / 1.222 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.3482, allocations: 144.5 kB / 1.222 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/0.3482, allocations: 4 kB / 1.222 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.3484, allocations: 19.92 kB / 1.222 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.043e-05/0.3485, allocations: 15.98 kB / 1.222 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.3485, allocations: 11.98 kB / 1.222 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003837/0.3489, allocations: 315.1 kB / 1.222 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3489, allocations: 0 / 1.222 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003883/0.3493, allocations: 87.8 kB / 1.222 GB, free: 10.22 MB / 0.9825 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.001041/0.3504, allocations: 417.4 kB / 1.223 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000609/0.351, allocations: 219.7 kB / 1.223 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.351, allocations: 320 / 1.223 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.3513, allocations: 123.8 kB / 1.223 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005666/0.3519, allocations: 116.3 kB / 1.223 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.3532, allocations: 0.6819 MB / 1.224 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.3536, allocations: 0.8109 MB / 1.225 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001845/0.3538, allocations: 51.27 kB / 1.225 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.386e-05/0.3539, allocations: 31.44 kB / 1.225 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.3539, allocations: 0 / 1.225 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of Templates: time 0.01087/0.3647, allocations: 4.88 MB / 1.23 GB, free: 3.098 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches