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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001277/0.001277, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001808/0.001808, allocations: 177.3 kB / 15.94 MB, free: 228 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.344/1.344, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.394/2.394, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003865, allocations: 12 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6757/0.6761, allocations: 142.3 MB / 0.9535 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.00294/0.6791, allocations: 2.449 MB / 0.9559 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.6814, allocations: 1.373 MB / 0.9572 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003068/0.6817, allocations: 11.25 kB / 0.9573 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.6821, allocations: 68.91 kB / 0.9573 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004495/0.6825, allocations: 147.5 kB / 0.9575 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009287/0.6835, allocations: 325.3 kB / 0.9578 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004433/0.6839, allocations: 325.9 kB / 0.9581 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.6842, allocations: 140.1 kB / 0.9582 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.6844, allocations: 158.6 kB / 0.9584 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.6846, allocations: 140.5 kB / 0.9585 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.6846, allocations: 12.25 kB / 0.9585 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.6848, allocations: 44.98 kB / 0.9586 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.157e-05/0.6849, allocations: 66.92 kB / 0.9586 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.855e-05/0.6849, allocations: 94.08 kB / 0.9587 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.6853, allocations: 461.6 kB / 0.9592 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6853, allocations: 4 kB / 0.9592 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6853, allocations: 0 / 0.9592 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.6853, allocations: 1.375 kB / 0.9592 GB, free: 3.992 MB / 0.7169 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.001041/0.6864, allocations: 0.7095 MB / 0.9599 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.6864, allocations: 9.25 kB / 0.9599 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.835e-05/0.6865, allocations: 55.92 kB / 0.9599 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005336/0.6871, allocations: 424.2 kB / 0.9603 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.6871, allocations: 20.03 kB / 0.9603 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/0.6872, allocations: 26.28 kB / 0.9604 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005184/0.6877, allocations: 335.8 kB / 0.9607 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.6877, allocations: 1.156 kB / 0.9607 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.6877, allocations: 10.19 kB / 0.9607 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.6878, allocations: 10.7 kB / 0.9607 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.6882, allocations: 223.5 kB / 0.9609 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.6894, allocations: 1.098 MB / 0.962 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005794/0.69, allocations: 245.2 kB / 0.9622 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.69, allocations: 2.281 kB / 0.9622 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003813/0.6904, allocations: 164.2 kB / 0.9624 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/0.6904, allocations: 0 / 0.9624 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.0007871/0.6912, allocations: 364.2 kB / 0.9627 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.6913, allocations: 109.3 kB / 0.9628 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/0.6917, allocations: 445 kB / 0.9633 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.6918, allocations: 29.7 kB / 0.9633 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.6919, allocations: 239.8 kB / 0.9635 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.692, allocations: 67.92 kB / 0.9636 GB, free: 496 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.692, allocations: 5.062 kB / 0.9636 GB, free: 492 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.6921, allocations: 349.4 kB / 0.9639 GB, free: 144 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.6923, allocations: 97.28 kB / 0.964 GB, free: 92 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.6926, allocations: 155.1 kB / 0.9642 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.6928, allocations: 100.9 kB / 0.9643 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6928, allocations: 0 / 0.9643 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005801/0.6934, allocations: 305.2 kB / 0.9645 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.6934, allocations: 5.719 kB / 0.9646 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6934, allocations: 2.344 kB / 0.9646 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.6934, allocations: 2.5 kB / 0.9646 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.6937, allocations: 60.44 kB / 0.9646 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.6937, allocations: 6.234 kB / 0.9646 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.6939, allocations: 33.11 kB / 0.9647 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.694, allocations: 7 kB / 0.9647 GB, free: 15.72 MB / 0.7325 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.0002123/0.6942, allocations: 185.8 kB / 0.9648 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.93e-05/0.6942, allocations: 43.53 kB / 0.9649 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.412e-05/0.6943, allocations: 52.95 kB / 0.9649 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.6944, allocations: 3 kB / 0.9649 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.6944, allocations: 0 / 0.9649 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.6944, allocations: 4.984 kB / 0.9649 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003993/0.6948, allocations: 413.3 kB / 0.9653 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.6948, allocations: 1.031 kB / 0.9653 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.695, allocations: 44.34 kB / 0.9654 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.695, allocations: 1.312 kB / 0.9654 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.6951, allocations: 2.219 kB / 0.9654 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.6951, allocations: 4.844 kB / 0.9654 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6951, allocations: 7.984 kB / 0.9654 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.6964, allocations: 437.1 kB / 0.9658 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/0.6966, allocations: 144.4 kB / 0.9659 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/0.6967, allocations: 7.031 kB / 0.9659 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.697, allocations: 12.17 kB / 0.966 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.193e-05/0.6971, allocations: 21.09 kB / 0.966 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.6971, allocations: 9.906 kB / 0.966 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000535/0.6976, allocations: 311.7 kB / 0.9663 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6977, allocations: 5.156 kB / 0.9663 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005939/0.6983, allocations: 79.12 kB / 0.9664 GB, free: 14.47 MB / 0.7325 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.001352/0.6996, allocations: 429.3 kB / 0.9668 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008025/0.7004, allocations: 232.6 kB / 0.967 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.7005, allocations: 0 / 0.967 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.7009, allocations: 114.9 kB / 0.9671 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006845/0.7016, allocations: 96.98 kB / 0.9672 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.7034, allocations: 0.7924 MB / 0.968 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.7039, allocations: 0.8181 MB / 0.9688 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003341/0.7042, allocations: 54.48 kB / 0.9688 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.7044, allocations: 34 kB / 0.9689 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of SimCode: time 6.82e-07/0.7044, allocations: 0 / 0.9689 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.01456/0.719, allocations: 4.334 MB / 0.9731 GB, free: 10.59 MB / 0.7325 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","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches