Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009489/0.0009489, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009285/0.0009285, allocations: 161.4 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9162/0.9162, allocations: 177.1 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.805/1.805, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 0.76 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.664e-05, allocations: 2.312 kB / 0.76 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003273/0.00329, allocations: 2.859 MB / 0.7628 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.005214, allocations: 1.703 MB / 0.7645 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.005418, allocations: 15.88 kB / 0.7645 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.005748, allocations: 103.1 kB / 0.7646 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.006088, allocations: 194.1 kB / 0.7648 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005622/0.006651, allocations: 408.1 kB / 0.7651 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004016/0.007052, allocations: 0.5589 MB / 0.7657 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.007236, allocations: 139.6 kB / 0.7658 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.007541, allocations: 299.2 kB / 0.7661 GB, free: 476 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.007696, allocations: 156.6 kB / 0.7663 GB, free: 320 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.007737, allocations: 40.5 kB / 0.7663 GB, free: 280 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.00788, allocations: 113.2 kB / 0.7664 GB, free: 168 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.007964, allocations: 107.5 kB / 0.7665 GB, free: 60 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.582e-05/0.00806, allocations: 115.6 kB / 0.7666 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.008425, allocations: 398.4 kB / 0.767 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.008427, allocations: 1.156 kB / 0.767 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.21e-07/0.008428, allocations: 0 / 0.767 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.008432, allocations: 0 / 0.767 GB, free: 15.55 MB / 0.7292 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.000693/0.009125, allocations: 0.7045 MB / 0.7677 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.694e-05/0.009152, allocations: 8.781 kB / 0.7677 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.009308, allocations: 68.88 kB / 0.7678 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006175/0.009926, allocations: 344.7 kB / 0.7681 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.009953, allocations: 25.03 kB / 0.7681 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.009987, allocations: 24.38 kB / 0.7681 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.01025, allocations: 268.1 kB / 0.7684 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.01025, allocations: 0.6562 kB / 0.7684 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.01027, allocations: 12 kB / 0.7684 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.01028, allocations: 4.719 kB / 0.7684 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.01039, allocations: 81.06 kB / 0.7685 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006289/0.01102, allocations: 0.7131 MB / 0.7692 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.01123, allocations: 181.9 kB / 0.7694 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.01128, allocations: 47.91 kB / 0.7694 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.0113, allocations: 7.984 kB / 0.7694 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.01142, allocations: 103.5 kB / 0.7695 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 1.453e-06/0.01142, allocations: 0 / 0.7695 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.0002072/0.01163, allocations: 152.5 kB / 0.7696 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.01165, allocations: 51.41 kB / 0.7697 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.01188, allocations: 374.7 kB / 0.7701 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.0119, allocations: 29.7 kB / 0.7701 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.01198, allocations: 185.6 kB / 0.7703 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.01202, allocations: 75.31 kB / 0.7703 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.01208, allocations: 61.66 kB / 0.7704 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.78e-05/0.01216, allocations: 361.9 kB / 0.7707 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.884e-05/0.0122, allocations: 22.81 kB / 0.7708 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.732e-05/0.01228, allocations: 111.6 kB / 0.7709 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.0124, allocations: 120.2 kB / 0.771 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.0124, allocations: 0 / 0.771 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001577/0.01256, allocations: 152.3 kB / 0.7711 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.01257, allocations: 8 kB / 0.7711 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.01257, allocations: 1.562 kB / 0.7711 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.01259, allocations: 4 kB / 0.7711 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.01271, allocations: 47.91 kB / 0.7712 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.01271, allocations: 3.938 kB / 0.7712 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.109e-05/0.01279, allocations: 33.11 kB / 0.7712 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.01281, allocations: 8 kB / 0.7712 GB, free: 10.99 MB / 0.7292 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 9.221e-05/0.0129, allocations: 134.7 kB / 0.7714 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.01293, allocations: 23.97 kB / 0.7714 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.01311, allocations: 158.5 kB / 0.7715 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.01311, allocations: 8.703 kB / 0.7715 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.01311, allocations: 0 / 0.7715 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01312, allocations: 8.469 kB / 0.7715 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.01329, allocations: 201.6 kB / 0.7717 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01329, allocations: 1.438 kB / 0.7717 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.272e-05/0.01338, allocations: 35.98 kB / 0.7718 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.01338, allocations: 0 / 0.7718 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.01339, allocations: 5.031 kB / 0.7718 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.0134, allocations: 3.984 kB / 0.7718 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.0134, allocations: 0 / 0.7718 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.01362, allocations: 216.8 kB / 0.772 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.01368, allocations: 40.25 kB / 0.772 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.01371, allocations: 12.92 kB / 0.772 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.705e-05/0.01376, allocations: 8 kB / 0.772 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.01381, allocations: 24.89 kB / 0.7721 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.01382, allocations: 4 kB / 0.7721 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001152/0.01393, allocations: 159.5 kB / 0.7722 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01393, allocations: 0.9062 kB / 0.7722 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001802/0.01412, allocations: 75.83 kB / 0.7723 GB, free: 9.848 MB / 0.7292 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.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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.001167/0.01528, allocations: 0.5193 MB / 0.7728 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001593/0.01544, allocations: 110.3 kB / 0.7729 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.01545, allocations: 4 kB / 0.7729 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.06e-05/0.01552, allocations: 63.34 kB / 0.773 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.01577, allocations: 123.9 kB / 0.7731 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008852/0.01666, allocations: 0.6477 MB / 0.7737 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.699e-05/0.01671, allocations: 105.1 kB / 0.7738 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.01682, allocations: 44.42 kB / 0.7739 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.01698, allocations: 127.3 kB / 0.774 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of SimCode: time 7.41e-07/0.01698, allocations: 0 / 0.774 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of Templates: time 0.007432/0.02441, allocations: 5.212 MB / 0.7791 GB, free: 3.363 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.754907439928502]