Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001296/0.001296, allocations: 105 kB / 16.27 MB, free: 6.414 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.001262/0.001262, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.453/1.453, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.761/2.761, allocations: 469.8 MB / 0.743 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002467, allocations: 66.31 kB / 0.9092 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3691, allocations: 159.1 MB / 1.065 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005199/0.3743, allocations: 2.932 MB / 1.068 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003172/0.3775, allocations: 1.508 MB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004006/0.378, allocations: 11.94 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004748/0.3785, allocations: 111.2 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004239/0.3789, allocations: 131.1 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.38, allocations: 420.8 kB / 1.07 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006482/0.3807, allocations: 0.5305 MB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003685/0.3811, allocations: 205.1 kB / 1.07 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.3814, allocations: 207.1 kB / 1.071 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.3817, allocations: 199 kB / 1.071 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.893e-05/0.3818, allocations: 40 kB / 1.071 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.382, allocations: 95.95 kB / 1.071 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.3822, allocations: 103.6 kB / 1.071 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.3824, allocations: 210.8 kB / 1.071 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008099/0.3832, allocations: 0.5804 MB / 1.072 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.3832, allocations: 0 / 1.072 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3832, allocations: 3.938 kB / 1.072 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.3832, allocations: 7.984 kB / 1.072 GB, free: 7.453 MB / 0.8419 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.001366/0.3846, allocations: 0.7843 MB / 1.072 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3847, allocations: 8.625 kB / 1.072 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.3848, allocations: 52.38 kB / 1.073 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007192/0.3855, allocations: 434.4 kB / 1.073 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.3856, allocations: 20.94 kB / 1.073 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.515e-05/0.3856, allocations: 27.94 kB / 1.073 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006327/0.3863, allocations: 335.9 kB / 1.073 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3863, allocations: 4 kB / 1.073 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.3863, allocations: 12 kB / 1.073 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.3863, allocations: 4 kB / 1.073 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005372/0.3869, allocations: 210.1 kB / 1.074 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.3885, allocations: 1.116 MB / 1.075 GB, free: 4.293 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.3891, allocations: 234.9 kB / 1.075 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.3894, allocations: 124.8 kB / 1.075 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.3895, allocations: 3.984 kB / 1.075 GB, free: 3.926 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004511/0.3899, allocations: 161 kB / 1.075 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=23): time 1.823e-06/0.3899, allocations: 0 / 1.075 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.0009323/0.3909, allocations: 351.5 kB / 1.075 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.381e-05/0.391, allocations: 106.8 kB / 1.076 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006206/0.3916, allocations: 449.9 kB / 1.076 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.3916, allocations: 41.62 kB / 1.076 GB, free: 2.785 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.3919, allocations: 224.5 kB / 1.076 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.835e-05/0.3919, allocations: 67.02 kB / 1.076 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.392, allocations: 53.69 kB / 1.076 GB, free: 2.438 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.3922, allocations: 358.8 kB / 1.077 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.3925, allocations: 83.95 kB / 1.077 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.3928, allocations: 156.9 kB / 1.077 GB, free: 1.816 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.3933, allocations: 216.9 kB / 1.077 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3933, allocations: 8 kB / 1.077 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007128/0.394, allocations: 307.5 kB / 1.077 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.394, allocations: 4 kB / 1.077 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3941, allocations: 4 kB / 1.077 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3941, allocations: 0 / 1.077 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.3943, allocations: 52.06 kB / 1.078 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3944, allocations: 4 kB / 1.078 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.3946, allocations: 35.67 kB / 1.078 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.3946, allocations: 12 kB / 1.078 GB, free: 1.164 MB / 0.8419 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.0002992/0.3949, allocations: 180.3 kB / 1.078 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.395, allocations: 39.47 kB / 1.078 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.3951, allocations: 47.83 kB / 1.078 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.3951, allocations: 0 / 1.078 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3951, allocations: 8 kB / 1.078 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3951, allocations: 0 / 1.078 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.3956, allocations: 417.2 kB / 1.078 GB, free: 436 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3956, allocations: 3.938 kB / 1.078 GB, free: 432 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.3959, allocations: 39.91 kB / 1.078 GB, free: 392 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3959, allocations: 0 / 1.078 GB, free: 392 kB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.3959, allocations: 4 kB / 1.078 GB, free: 388 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3959, allocations: 4 kB / 1.078 GB, free: 384 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3959, allocations: 0 / 1.078 GB, free: 384 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5923/0.9883, allocations: 421.6 kB / 1.079 GB, free: 22.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/0.9886, allocations: 143.4 kB / 1.079 GB, free: 22.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.973e-05/0.9887, allocations: 9.75 kB / 1.079 GB, free: 22.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.9889, allocations: 9.375 kB / 1.079 GB, free: 22.21 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.989, allocations: 22.73 kB / 1.079 GB, free: 22.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.896e-05/0.9891, allocations: 8.891 kB / 1.079 GB, free: 22.21 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005993/0.9897, allocations: 323.4 kB / 1.079 GB, free: 22.13 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9897, allocations: 0 / 1.079 GB, free: 22.13 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000513/0.9902, allocations: 75.27 kB / 1.079 GB, free: 22.13 MB / 0.8419 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.001634/0.9918, allocations: 420.9 kB / 1.08 GB, free: 22.01 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007906/0.9926, allocations: 242.8 kB / 1.08 GB, free: 22 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.9927, allocations: 0.5 kB / 1.08 GB, free: 22 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.993, allocations: 112.5 kB / 1.08 GB, free: 22 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.9937, allocations: 107.8 kB / 1.08 GB, free: 22 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.9952, allocations: 0.7152 MB / 1.081 GB, free: 21.67 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.9956, allocations: 0.8126 MB / 1.082 GB, free: 20.97 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.9957, allocations: 35.59 kB / 1.082 GB, free: 20.96 MB / 0.8419 GB Notification: Performance of SimCode: time 5.61e-07/0.9957, allocations: 3.828 kB / 1.082 GB, free: 20.96 MB / 0.8419 GB Notification: Performance of Templates: time 0.01355/1.009, allocations: 5.64 MB / 1.087 GB, free: 20.4 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches