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.002493/0.002493, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.003106/0.003106, allocations: 161.7 kB / 23.55 MB, free: 0.8711 MB / 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 1.566/1.566, allocations: 177.1 MB / 203.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.034/3.034, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.743e-06/1.743e-06, allocations: 0 / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.957e-05, allocations: 5.094 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005362/0.005392, allocations: 2.866 MB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003319/0.008711, allocations: 1.67 MB / 0.8152 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002651/0.008976, allocations: 15.88 kB / 0.8152 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004283/0.009404, allocations: 103.1 kB / 0.8153 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005158/0.00992, allocations: 189.9 kB / 0.8155 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009406/0.01086, allocations: 405.9 kB / 0.8159 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007217/0.01158, allocations: 0.5576 MB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002804/0.01186, allocations: 133.7 kB / 0.8166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004844/0.01235, allocations: 295.3 kB / 0.8169 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.01261, allocations: 152.8 kB / 0.817 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.675e-05/0.01269, allocations: 44 kB / 0.817 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.01293, allocations: 111.8 kB / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.01309, allocations: 112.1 kB / 0.8173 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.01326, allocations: 129.5 kB / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008796/0.01414, allocations: 0.6307 MB / 0.818 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.01414, allocations: 0 / 0.818 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.102e-06/0.01414, allocations: 0 / 0.818 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.01415, allocations: 0 / 0.818 GB, free: 10.75 MB / 0.7761 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.001543/0.01569, allocations: 0.8767 MB / 0.8189 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.01573, allocations: 12.03 kB / 0.8189 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003387/0.01607, allocations: 93.27 kB / 0.819 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007535/0.01683, allocations: 403.9 kB / 0.8193 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/0.01686, allocations: 21.03 kB / 0.8194 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-05/0.01692, allocations: 29.53 kB / 0.8194 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007094/0.01763, allocations: 400.8 kB / 0.8198 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.01764, allocations: 3.984 kB / 0.8198 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.01768, allocations: 12.53 kB / 0.8198 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.01769, allocations: 8.875 kB / 0.8198 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004996/0.01819, allocations: 194.7 kB / 0.82 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.02021, allocations: 1.263 MB / 0.8212 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006115/0.02082, allocations: 227.3 kB / 0.8214 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.02106, allocations: 100.5 kB / 0.8215 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.02109, allocations: 8 kB / 0.8215 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003533/0.02145, allocations: 151.2 kB / 0.8217 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.02145, allocations: 0 / 0.8217 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.0008927/0.02234, allocations: 332.2 kB / 0.822 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.623e-05/0.02242, allocations: 81.11 kB / 0.8221 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000715/0.02313, allocations: 0.5476 MB / 0.8226 GB, free: 5.812 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.02317, allocations: 29.7 kB / 0.8226 GB, free: 5.777 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.02346, allocations: 319.3 kB / 0.8229 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.376e-05/0.02355, allocations: 87.31 kB / 0.823 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.02369, allocations: 75.34 kB / 0.8231 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003489/0.02403, allocations: 0.5548 MB / 0.8236 GB, free: 4.727 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.02424, allocations: 73.59 kB / 0.8237 GB, free: 4.656 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.02456, allocations: 216.9 kB / 0.8239 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.02503, allocations: 234.8 kB / 0.8241 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.02503, allocations: 0 / 0.8241 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006319/0.02566, allocations: 290.9 kB / 0.8244 GB, free: 3.859 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.02568, allocations: 4 kB / 0.8244 GB, free: 3.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.02569, allocations: 4.625 kB / 0.8244 GB, free: 3.852 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.02571, allocations: 3.938 kB / 0.8244 GB, free: 3.848 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.02595, allocations: 48.56 kB / 0.8245 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.02596, allocations: 4.562 kB / 0.8245 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.02613, allocations: 31.3 kB / 0.8245 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.02616, allocations: 15.98 kB / 0.8245 GB, free: 3.754 MB / 0.7761 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.0002332/0.02639, allocations: 210 kB / 0.8247 GB, free: 3.539 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.627e-05/0.02648, allocations: 55.7 kB / 0.8248 GB, free: 3.484 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006543/0.02713, allocations: 268.3 kB / 0.825 GB, free: 3.223 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.02714, allocations: 3.938 kB / 0.825 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.02714, allocations: 2.125 kB / 0.825 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.02714, allocations: 0 / 0.825 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.02767, allocations: 392.4 kB / 0.8254 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.02767, allocations: 3.938 kB / 0.8254 GB, free: 2.797 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.02788, allocations: 39.97 kB / 0.8255 GB, free: 2.758 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.02788, allocations: 0 / 0.8255 GB, free: 2.758 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.0279, allocations: 5.031 kB / 0.8255 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.0279, allocations: 0 / 0.8255 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.02791, allocations: 3.938 kB / 0.8255 GB, free: 2.75 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008739/0.02878, allocations: 420.9 kB / 0.8259 GB, free: 2.316 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.02893, allocations: 72.72 kB / 0.8259 GB, free: 2.246 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.021e-05/0.02898, allocations: 4 kB / 0.8259 GB, free: 2.242 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.02913, allocations: 18.17 kB / 0.826 GB, free: 2.227 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/0.02921, allocations: 23.91 kB / 0.826 GB, free: 2.203 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.02924, allocations: 7.984 kB / 0.826 GB, free: 2.195 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004271/0.02966, allocations: 351.1 kB / 0.8263 GB, free: 1.852 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02966, allocations: 0 / 0.8263 GB, free: 1.852 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003421/0.03, allocations: 83.72 kB / 0.8264 GB, free: 1.77 MB / 0.7761 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.002981/0.03299, allocations: 466.2 kB / 0.8268 GB, free: 1.496 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005911/0.03358, allocations: 222 kB / 0.8271 GB, free: 1.277 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.03358, allocations: 0 / 0.8271 GB, free: 1.277 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002632/0.03384, allocations: 111.6 kB / 0.8272 GB, free: 1.164 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.03443, allocations: 117.5 kB / 0.8273 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.03608, allocations: 0.6938 MB / 0.828 GB, free: 332 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.03632, allocations: 211.1 kB / 0.8282 GB, free: 104 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001869/0.03651, allocations: 51.25 kB / 0.8282 GB, free: 52 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.03661, allocations: 40.48 kB / 0.8282 GB, free: 12 kB / 0.7761 GB Notification: Performance of SimCode: time 7.92e-07/0.03662, allocations: 0 / 0.8282 GB, free: 12 kB / 0.7761 GB Notification: Performance of Templates: time 0.0114/0.04802, allocations: 4.942 MB / 0.8331 GB, free: 11.21 MB / 0.7917 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.340371945057996]