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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001544/0.001544, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001594/0.001594, allocations: 188 kB / 16.25 MB, free: 6.625 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.367/1.367, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.88 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7157/0.717, allocations: 140.4 MB / 0.9491 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004025/0.7211, allocations: 2.954 MB / 0.952 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.7233, allocations: 1.48 MB / 0.9534 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000269/0.7236, allocations: 12 kB / 0.9534 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004407/0.724, allocations: 82.5 kB / 0.9535 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.7244, allocations: 125.1 kB / 0.9536 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008171/0.7252, allocations: 370.1 kB / 0.954 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005306/0.7258, allocations: 0.5308 MB / 0.9545 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000339/0.7261, allocations: 214.4 kB / 0.9547 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.7264, allocations: 203.8 kB / 0.9549 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.7266, allocations: 200.1 kB / 0.9551 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.428e-05/0.7267, allocations: 41.91 kB / 0.9551 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.7269, allocations: 98.31 kB / 0.9552 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.7271, allocations: 111.9 kB / 0.9553 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.7272, allocations: 212 kB / 0.9555 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.7278, allocations: 0.5839 MB / 0.9561 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.7278, allocations: 0 / 0.9561 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7278, allocations: 0 / 0.9561 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.7278, allocations: 0 / 0.9561 GB, free: 3.77 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.001142/0.729, allocations: 0.7862 MB / 0.9569 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.729, allocations: 9.906 kB / 0.9569 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.7291, allocations: 52.75 kB / 0.9569 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004982/0.7296, allocations: 439.7 kB / 0.9574 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.7297, allocations: 20.66 kB / 0.9574 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.7297, allocations: 29.16 kB / 0.9574 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005323/0.7303, allocations: 333.6 kB / 0.9577 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.7303, allocations: 0 / 0.9577 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.7303, allocations: 10.75 kB / 0.9577 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.7304, allocations: 6.875 kB / 0.9577 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.7308, allocations: 215.1 kB / 0.958 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.732, allocations: 1.1 MB / 0.959 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.7326, allocations: 244.5 kB / 0.9593 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.7328, allocations: 108 kB / 0.9594 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.7328, allocations: 6.734 kB / 0.9594 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003767/0.7332, allocations: 155.6 kB / 0.9595 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.614e-06/0.7332, allocations: 3.938 kB / 0.9595 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.0008031/0.7341, allocations: 355.8 kB / 0.9599 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.7341, allocations: 106.1 kB / 0.96 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004925/0.7346, allocations: 456.7 kB / 0.9604 GB, free: 440 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.7346, allocations: 31.77 kB / 0.9604 GB, free: 404 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.7348, allocations: 237.3 kB / 0.9607 GB, free: 188 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/0.7348, allocations: 67.64 kB / 0.9607 GB, free: 128 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.329e-05/0.7349, allocations: 54.56 kB / 0.9608 GB, free: 88 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.7351, allocations: 353.1 kB / 0.9611 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.7353, allocations: 82.83 kB / 0.9612 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.7356, allocations: 161.5 kB / 0.9613 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004387/0.736, allocations: 215.7 kB / 0.9615 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.736, allocations: 5.25 kB / 0.9616 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005943/0.7366, allocations: 307.3 kB / 0.9618 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.7367, allocations: 5 kB / 0.9618 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7367, allocations: 1.219 kB / 0.9618 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.7367, allocations: 6.906 kB / 0.9619 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.7369, allocations: 54.31 kB / 0.9619 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.737, allocations: 2.75 kB / 0.9619 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.7371, allocations: 26.36 kB / 0.9619 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.7372, allocations: 12 kB / 0.9619 GB, free: 15.23 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 ($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.0001926/0.7374, allocations: 183.5 kB / 0.9621 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.7374, allocations: 47.38 kB / 0.9622 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.474e-05/0.7375, allocations: 49.05 kB / 0.9622 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.7375, allocations: 2.719 kB / 0.9622 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.7376, allocations: 0 / 0.9622 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7376, allocations: 1.188 kB / 0.9622 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.738, allocations: 413.3 kB / 0.9626 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.738, allocations: 3.938 kB / 0.9626 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.7382, allocations: 39.59 kB / 0.9627 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.7382, allocations: 5.844 kB / 0.9627 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.7383, allocations: 4.875 kB / 0.9627 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.7383, allocations: 1.188 kB / 0.9627 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7383, allocations: 3.984 kB / 0.9627 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008417/0.7391, allocations: 413.6 kB / 0.9631 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.7393, allocations: 151.7 kB / 0.9632 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.299e-05/0.7393, allocations: 6.312 kB / 0.9632 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.7395, allocations: 10.27 kB / 0.9632 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.74e-05/0.7396, allocations: 20.95 kB / 0.9632 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.7396, allocations: 13.3 kB / 0.9633 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003487/0.74, allocations: 316.5 kB / 0.9636 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/0.74, allocations: 0 / 0.9636 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003447/0.7403, allocations: 79.98 kB / 0.9636 GB, free: 13.99 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 (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.001012/0.7414, allocations: 433 kB / 0.964 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005924/0.742, allocations: 228.9 kB / 0.9643 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.742, allocations: 0 / 0.9643 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.7422, allocations: 119.4 kB / 0.9644 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005688/0.7428, allocations: 117.3 kB / 0.9645 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.7441, allocations: 0.8142 MB / 0.9653 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.7445, allocations: 0.8204 MB / 0.9661 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002054/0.7447, allocations: 51.2 kB / 0.9661 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.303e-05/0.7448, allocations: 34.11 kB / 0.9662 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.7448, allocations: 0 / 0.9662 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of Templates: time 0.01016/0.755, allocations: 4.676 MB / 0.9707 GB, free: 9.91 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches