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.001382/0.001382, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001577/0.001577, allocations: 161 kB / 24.17 MB, free: 332 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.9563/0.9563, allocations: 177.2 MB / 204.6 MB, free: 5.488 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 2.009/2.009, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 177] 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.884e-06/1.884e-06, allocations: 0 / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.56e-05, allocations: 2.812 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005175/0.005201, allocations: 2.918 MB / 0.7629 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003638/0.008839, allocations: 1.697 MB / 0.7645 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004793/0.009318, allocations: 17.34 kB / 0.7646 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000497/0.009815, allocations: 111 kB / 0.7647 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0006396/0.01045, allocations: 193.2 kB / 0.7649 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.01147, allocations: 392.6 kB / 0.7652 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005456/0.01202, allocations: 0.5537 MB / 0.7658 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.01224, allocations: 141.1 kB / 0.7659 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003993/0.01264, allocations: 315 kB / 0.7662 GB, free: 332 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.01284, allocations: 152.7 kB / 0.7664 GB, free: 180 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.01288, allocations: 40 kB / 0.7664 GB, free: 140 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.01308, allocations: 103.9 kB / 0.7665 GB, free: 36 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.0132, allocations: 108.3 kB / 0.7666 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.539e-05/0.0133, allocations: 123.6 kB / 0.7667 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0007154/0.01401, allocations: 395.2 kB / 0.7671 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.01401, allocations: 0 / 0.7671 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.443e-06/0.01402, allocations: 0.75 kB / 0.7671 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.01402, allocations: 0 / 0.7671 GB, free: 15.42 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.0007781/0.0148, allocations: 0.6975 MB / 0.7678 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.01483, allocations: 15.97 kB / 0.7678 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.01501, allocations: 66.69 kB / 0.7678 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.01542, allocations: 348.2 kB / 0.7682 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.01545, allocations: 21.03 kB / 0.7682 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.01548, allocations: 28.38 kB / 0.7682 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.01576, allocations: 272.1 kB / 0.7685 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.01577, allocations: 0 / 0.7685 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.01579, allocations: 8 kB / 0.7685 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.0158, allocations: 8 kB / 0.7685 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.0159, allocations: 73.08 kB / 0.7686 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007303/0.01663, allocations: 0.717 MB / 0.7693 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.01685, allocations: 173.4 kB / 0.7694 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.01691, allocations: 60.7 kB / 0.7695 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.01693, allocations: 4 kB / 0.7695 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.01706, allocations: 105.1 kB / 0.7696 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 1.903e-06/0.01706, allocations: 0 / 0.7696 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.000222/0.01728, allocations: 142.9 kB / 0.7697 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.0173, allocations: 60.69 kB / 0.7698 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.01754, allocations: 372.8 kB / 0.7701 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.01756, allocations: 29.7 kB / 0.7702 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.434e-05/0.01765, allocations: 190.2 kB / 0.7704 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.01768, allocations: 67.38 kB / 0.7704 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.283e-05/0.01775, allocations: 66.31 kB / 0.7705 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.832e-05/0.01783, allocations: 354.7 kB / 0.7708 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.396e-05/0.01788, allocations: 31.41 kB / 0.7709 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.636e-05/0.01795, allocations: 104.4 kB / 0.771 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.01808, allocations: 123.8 kB / 0.7711 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01808, allocations: 0 / 0.7711 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001827/0.01826, allocations: 158.3 kB / 0.7712 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.01828, allocations: 11.92 kB / 0.7712 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.01829, allocations: 4 kB / 0.7712 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.0183, allocations: 0 / 0.7712 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.01843, allocations: 47.97 kB / 0.7713 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.01843, allocations: 11.88 kB / 0.7713 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.01854, allocations: 25.31 kB / 0.7713 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.01855, allocations: 11.98 kB / 0.7713 GB, free: 10.84 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 0.0001253/0.01868, allocations: 126.1 kB / 0.7715 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.01873, allocations: 32.97 kB / 0.7715 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.01896, allocations: 150 kB / 0.7716 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01896, allocations: 4 kB / 0.7716 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.01897, allocations: 0.5938 kB / 0.7716 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.01897, allocations: 8.828 kB / 0.7716 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.01915, allocations: 205.6 kB / 0.7718 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01915, allocations: 0 / 0.7718 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.01927, allocations: 40.88 kB / 0.7719 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01927, allocations: 0 / 0.7719 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.01928, allocations: 4.875 kB / 0.7719 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.01929, allocations: 4 kB / 0.7719 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01929, allocations: 1.062 kB / 0.7719 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.01952, allocations: 208.3 kB / 0.7721 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/0.01959, allocations: 42.09 kB / 0.7721 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.01961, allocations: 15.98 kB / 0.7721 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.905e-05/0.01967, allocations: 8 kB / 0.7721 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.01973, allocations: 19.95 kB / 0.7722 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.01975, allocations: 4 kB / 0.7722 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001246/0.01987, allocations: 163.5 kB / 0.7723 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01987, allocations: 2.531 kB / 0.7723 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002085/0.02008, allocations: 79.78 kB / 0.7724 GB, free: 9.703 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.001128/0.02121, allocations: 0.529 MB / 0.7729 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000189/0.0214, allocations: 112.5 kB / 0.773 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.02141, allocations: 4 kB / 0.773 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.244e-05/0.02148, allocations: 60.94 kB / 0.7731 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.02176, allocations: 106.5 kB / 0.7732 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.0228, allocations: 0.6475 MB / 0.7738 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.941e-05/0.02286, allocations: 109.5 kB / 0.7739 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.02298, allocations: 48.17 kB / 0.774 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.02315, allocations: 123.3 kB / 0.7741 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of SimCode: time 8.72e-07/0.02315, allocations: 0 / 0.7741 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of Templates: time 0.008109/0.03126, allocations: 5.211 MB / 0.7792 GB, free: 3.219 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 -s gbode -gbm=radauIIA3 -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: 5.211507512722164]