Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001494/0.001494, allocations: 69.11 kB / 20.65 MB, free: 3.848 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.001453/0.001453, allocations: 173 kB / 24.06 MB, free: 452 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.9655/0.9655, allocations: 177.1 MB / 204.5 MB, free: 4.992 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.119/2.119, allocations: 429.5 MB / 0.6743 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.627e-05, allocations: 6.25 kB / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.002966/0.002982, allocations: 2.85 MB / 0.8822 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.004873, allocations: 1.659 MB / 0.8838 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.005054, allocations: 15.88 kB / 0.8838 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003271/0.005381, allocations: 111.1 kB / 0.8839 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.0057, allocations: 190.1 kB / 0.8841 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.00621, allocations: 400.9 kB / 0.8845 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006481/0.006858, allocations: 0.5615 MB / 0.885 GB, free: 240 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.007049, allocations: 125.8 kB / 0.8851 GB, free: 108 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003022/0.007351, allocations: 311.7 kB / 0.8854 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.007507, allocations: 153.7 kB / 0.8856 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.00755, allocations: 40 kB / 0.8856 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.007687, allocations: 103.9 kB / 0.8857 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.905e-05/0.007776, allocations: 111.5 kB / 0.8858 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.011e-05/0.007866, allocations: 122.9 kB / 0.8859 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.008232, allocations: 394.4 kB / 0.8863 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.008234, allocations: 3.938 kB / 0.8863 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.71e-07/0.008234, allocations: 0 / 0.8863 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.008239, allocations: 0 / 0.8863 GB, free: 14.89 MB / 0.8542 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.0007688/0.009008, allocations: 0.8317 MB / 0.8871 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.009038, allocations: 13.25 kB / 0.8871 GB, free: 14 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.009216, allocations: 92.53 kB / 0.8872 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.009599, allocations: 409.1 kB / 0.8876 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.009629, allocations: 21.03 kB / 0.8876 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.009662, allocations: 24.38 kB / 0.8877 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.009949, allocations: 283.4 kB / 0.8879 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.009959, allocations: 0 / 0.8879 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.00998, allocations: 15.98 kB / 0.888 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.009989, allocations: 8 kB / 0.888 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.01011, allocations: 83.36 kB / 0.888 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007733/0.01088, allocations: 1.031 MB / 0.8891 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.0111, allocations: 143.3 kB / 0.8892 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.01116, allocations: 47.66 kB / 0.8892 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.01118, allocations: 7.984 kB / 0.8892 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.01131, allocations: 100.9 kB / 0.8893 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 1.573e-06/0.01131, allocations: 0 / 0.8893 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0003081/0.01162, allocations: 207.9 kB / 0.8895 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.01165, allocations: 59.34 kB / 0.8896 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.01191, allocations: 430.4 kB / 0.89 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.01193, allocations: 29.7 kB / 0.89 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.01209, allocations: 291.3 kB / 0.8903 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.01214, allocations: 75.31 kB / 0.8904 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/0.01221, allocations: 67.31 kB / 0.8904 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.01234, allocations: 0.5312 MB / 0.891 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.504e-05/0.01238, allocations: 27.97 kB / 0.891 GB, free: 9.871 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.757e-05/0.01247, allocations: 128.9 kB / 0.8911 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.0126, allocations: 140.1 kB / 0.8912 GB, free: 9.551 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.0126, allocations: 0 / 0.8912 GB, free: 9.551 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000206/0.01281, allocations: 197.1 kB / 0.8914 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.01282, allocations: 6.812 kB / 0.8914 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.01282, allocations: 160 / 0.8914 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.01283, allocations: 8 kB / 0.8914 GB, free: 9.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.01327, allocations: 47.91 kB / 0.8915 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.01327, allocations: 7.938 kB / 0.8915 GB, free: 9.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.884e-05/0.01335, allocations: 27.83 kB / 0.8915 GB, free: 9.258 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.01336, allocations: 4 kB / 0.8915 GB, free: 9.254 MB / 0.8542 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.0001057/0.01347, allocations: 173.4 kB / 0.8917 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.01352, allocations: 59.69 kB / 0.8918 GB, free: 9.016 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.01376, allocations: 191.9 kB / 0.8919 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01376, allocations: 4 kB / 0.8919 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.01377, allocations: 3.938 kB / 0.8919 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01377, allocations: 0 / 0.8919 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.01398, allocations: 244.9 kB / 0.8922 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01398, allocations: 0 / 0.8922 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.01408, allocations: 35.97 kB / 0.8922 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.01409, allocations: 4 kB / 0.8922 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.0141, allocations: 4 kB / 0.8922 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.0141, allocations: 7.938 kB / 0.8922 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.0141, allocations: 0 / 0.8922 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.01439, allocations: 268.5 kB / 0.8925 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/0.01446, allocations: 63.67 kB / 0.8925 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.01449, allocations: 4 kB / 0.8925 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.01e-05/0.01455, allocations: 7.984 kB / 0.8926 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.0146, allocations: 19.97 kB / 0.8926 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.01461, allocations: 8 kB / 0.8926 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001371/0.01475, allocations: 271 kB / 0.8928 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01475, allocations: 0 / 0.8928 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000207/0.01495, allocations: 83.72 kB / 0.8929 GB, free: 7.773 MB / 0.8542 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.0008385/0.01579, allocations: 403.3 kB / 0.8933 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.01598, allocations: 123.2 kB / 0.8934 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01598, allocations: 0 / 0.8934 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.01606, allocations: 71.52 kB / 0.8935 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.01637, allocations: 113.7 kB / 0.8936 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008836/0.01725, allocations: 0.6381 MB / 0.8942 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.871e-05/0.01731, allocations: 108.6 kB / 0.8943 GB, free: 6.406 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.01741, allocations: 43.28 kB / 0.8944 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.01758, allocations: 150.1 kB / 0.8945 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/0.01758, allocations: 0 / 0.8945 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of Templates: time 0.007315/0.02489, allocations: 5.38 MB / 0.8998 GB, free: 0.9727 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.452334495726973]