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.001913/0.001913, allocations: 107 kB / 15.99 MB, free: 6.359 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.001842/0.001842, allocations: 193.8 kB / 16.91 MB, free: 6.195 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.462/1.462, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.804/2.804, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 65.61 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3721, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005329/0.3775, allocations: 2.96 MB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003136/0.3806, allocations: 1.477 MB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004776/0.3811, allocations: 11.94 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004642/0.3816, allocations: 91.45 kB / 1.069 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004286/0.3821, allocations: 111.4 kB / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.3831, allocations: 381 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007023/0.3839, allocations: 0.5344 MB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004066/0.3843, allocations: 209.1 kB / 1.07 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004061/0.3847, allocations: 207 kB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.385, allocations: 195 kB / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.5e-05/0.3851, allocations: 44 kB / 1.07 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.3853, allocations: 87.97 kB / 1.07 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.3854, allocations: 107.6 kB / 1.07 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.3857, allocations: 214.8 kB / 1.071 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006079/0.3863, allocations: 479.2 kB / 1.071 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3863, allocations: 0 / 1.071 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.386e-06/0.3863, allocations: 4 kB / 1.071 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.3863, allocations: 3.938 kB / 1.071 GB, free: 8.008 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.001399/0.3877, allocations: 0.7843 MB / 1.072 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3878, allocations: 12.62 kB / 1.072 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.3879, allocations: 52.38 kB / 1.072 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006434/0.3886, allocations: 434.5 kB / 1.072 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.3886, allocations: 20.94 kB / 1.072 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.634e-05/0.3887, allocations: 27.94 kB / 1.072 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006584/0.3893, allocations: 331.9 kB / 1.073 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3894, allocations: 3.938 kB / 1.073 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.3894, allocations: 12 kB / 1.073 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.3894, allocations: 7.984 kB / 1.073 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005028/0.3899, allocations: 210.1 kB / 1.073 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.3915, allocations: 1.104 MB / 1.074 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006394/0.3921, allocations: 242.9 kB / 1.074 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.3924, allocations: 116.8 kB / 1.074 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.3924, allocations: 0 / 1.074 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004386/0.3929, allocations: 153.3 kB / 1.074 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=23): time 1.543e-06/0.3929, allocations: 3.938 kB / 1.074 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.000936/0.3938, allocations: 356.9 kB / 1.075 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.3939, allocations: 102.8 kB / 1.075 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.3945, allocations: 449.9 kB / 1.075 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.3945, allocations: 33.7 kB / 1.075 GB, free: 3.355 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.3947, allocations: 228.5 kB / 1.076 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.778e-05/0.3948, allocations: 74.98 kB / 1.076 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.3949, allocations: 57.64 kB / 1.076 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.3951, allocations: 358.8 kB / 1.076 GB, free: 2.633 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.3953, allocations: 83.95 kB / 1.076 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.3956, allocations: 155.7 kB / 1.076 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004702/0.3961, allocations: 223.9 kB / 1.076 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3961, allocations: 0 / 1.076 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000624/0.3968, allocations: 302.8 kB / 1.077 GB, free: 1.836 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3968, allocations: 4 kB / 1.077 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.3968, allocations: 4 kB / 1.077 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3968, allocations: 0 / 1.077 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.3971, allocations: 60.05 kB / 1.077 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-05/0.3971, allocations: 4 kB / 1.077 GB, free: 1.766 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.3973, allocations: 31.67 kB / 1.077 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.3974, allocations: 15.94 kB / 1.077 GB, free: 1.719 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.0002157/0.3976, allocations: 171 kB / 1.077 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-05/0.3977, allocations: 43.47 kB / 1.077 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.3978, allocations: 43.84 kB / 1.077 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3978, allocations: 8 kB / 1.077 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.3978, allocations: 4 kB / 1.077 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3978, allocations: 7.922 kB / 1.077 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.3983, allocations: 413.2 kB / 1.078 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.3983, allocations: 7.875 kB / 1.078 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.3985, allocations: 35.97 kB / 1.078 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3985, allocations: 3.938 kB / 1.078 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.3986, allocations: 8 kB / 1.078 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3986, allocations: 0 / 1.078 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3986, allocations: 0 / 1.078 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008851/0.3995, allocations: 422.2 kB / 1.078 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.3996, allocations: 144.5 kB / 1.078 GB, free: 344 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.705e-05/0.3997, allocations: 8 kB / 1.078 GB, free: 336 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.3999, allocations: 7.984 kB / 1.078 GB, free: 328 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/0.4, allocations: 28.03 kB / 1.078 GB, free: 300 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.4, allocations: 8 kB / 1.078 GB, free: 292 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.635/1.035, allocations: 314.3 kB / 1.078 GB, free: 22.32 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.022e-06/1.035, allocations: 0 / 1.078 GB, free: 22.32 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006194/1.036, allocations: 73.3 kB / 1.079 GB, free: 22.32 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.001602/1.037, allocations: 426.8 kB / 1.079 GB, free: 22.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007097/1.038, allocations: 232.7 kB / 1.079 GB, free: 22.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/1.038, allocations: 8.5 kB / 1.079 GB, free: 22.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002766/1.038, allocations: 109.6 kB / 1.079 GB, free: 22.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/1.039, allocations: 104.2 kB / 1.079 GB, free: 22.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/1.04, allocations: 0.8535 MB / 1.08 GB, free: 21.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/1.041, allocations: 0.8128 MB / 1.081 GB, free: 21.04 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/1.041, allocations: 37.86 kB / 1.081 GB, free: 21.03 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/1.041, allocations: 0 / 1.081 GB, free: 21.03 MB / 0.8419 GB Notification: Performance of Templates: time 0.01192/1.053, allocations: 5.637 MB / 1.087 GB, free: 20.47 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