Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.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.0007856/0.0007856, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001182/0.001968, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001818/0.001818, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001939/0.003758, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.975/0.975, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09082/1.066, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.758/1.758, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4631/2.221, allocations: 123.3 MB / 0.7283 GB, free: 5.703 MB / 0.698 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.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.[0-9,]+.|cooCap.EIR.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.[0-9,]+.|cooCap.EIR.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.7297 GB, free: 4.352 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114e-05/1.237e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.348 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002804/0.002816, allocations: 2.953 MB / 0.7326 GB, free: 1.438 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00236/0.005176, allocations: 2.23 MB / 0.7347 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.005294, allocations: 3.938 kB / 0.7347 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004841/0.005778, allocations: 243.8 kB / 0.735 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.0059, allocations: 82 kB / 0.7351 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.006708, allocations: 492.9 kB / 0.7355 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004892/0.007197, allocations: 0.5375 MB / 0.736 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.932e-05/0.007286, allocations: 35.88 kB / 0.7361 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002968/0.007583, allocations: 332.5 kB / 0.7364 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.007769, allocations: 183.6 kB / 0.7366 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.007825, allocations: 37.69 kB / 0.7366 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003645/0.00819, allocations: 279.6 kB / 0.7369 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.008303, allocations: 135.6 kB / 0.737 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.225e-05/0.008395, allocations: 103.8 kB / 0.7371 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004403/0.008835, allocations: 463.4 kB / 0.7375 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.008846, allocations: 0 / 0.7375 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.01e-07/0.008846, allocations: 1.125 kB / 0.7375 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.008858, allocations: 0 / 0.7375 GB, free: 12.33 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008241/0.009682, allocations: 0.7838 MB / 0.7383 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.009713, allocations: 12.02 kB / 0.7383 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008507/0.01056, allocations: 284.7 kB / 0.7386 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.01085, allocations: 287.8 kB / 0.7389 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.899e-05/0.01092, allocations: 131.3 kB / 0.739 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-05/0.01096, allocations: 20.84 kB / 0.739 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.01132, allocations: 214.3 kB / 0.7392 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.01133, allocations: 4.172 kB / 0.7392 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.01135, allocations: 8.875 kB / 0.7392 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.01136, allocations: 4 kB / 0.7392 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.01152, allocations: 78.64 kB / 0.7393 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007755/0.01229, allocations: 0.4999 MB / 0.7398 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.0136, allocations: 477.3 kB / 0.7403 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.661e-05/0.0137, allocations: 55.53 kB / 0.7403 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.01372, allocations: 4 kB / 0.7403 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.01393, allocations: 161.9 kB / 0.7405 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.01393, allocations: 2.938 kB / 0.7405 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.0003359/0.01427, allocations: 195.8 kB / 0.7407 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.0143, allocations: 55.41 kB / 0.7407 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.01451, allocations: 368.3 kB / 0.7411 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.01455, allocations: 33.7 kB / 0.7411 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.01461, allocations: 142.3 kB / 0.7412 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.01466, allocations: 64.05 kB / 0.7413 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.515e-05/0.01475, allocations: 57.64 kB / 0.7413 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.01485, allocations: 367.2 kB / 0.7417 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.01498, allocations: 106 kB / 0.7418 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.01513, allocations: 180.1 kB / 0.742 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.01532, allocations: 173.2 kB / 0.7421 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.01532, allocations: 8 kB / 0.7421 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002988/0.01562, allocations: 297.6 kB / 0.7424 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.01566, allocations: 46.44 kB / 0.7425 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.01566, allocations: 0 / 0.7425 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.01567, allocations: 4.609 kB / 0.7425 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.01592, allocations: 82.02 kB / 0.7426 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.01593, allocations: 3.938 kB / 0.7426 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.01607, allocations: 45.64 kB / 0.7426 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.0161, allocations: 11.98 kB / 0.7426 GB, free: 6.938 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (onOff.y,cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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.0001064/0.0162, allocations: 118.4 kB / 0.7427 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.01626, allocations: 47.83 kB / 0.7428 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.0163, allocations: 36.02 kB / 0.7428 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.0163, allocations: 4 kB / 0.7428 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.0163, allocations: 0.9375 kB / 0.7428 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.0163, allocations: 3.984 kB / 0.7428 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.01653, allocations: 238.2 kB / 0.743 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01653, allocations: 0 / 0.743 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.01675, allocations: 79 kB / 0.7431 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.01685, allocations: 67.61 kB / 0.7432 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.01686, allocations: 7.938 kB / 0.7432 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.01687, allocations: 7.984 kB / 0.7432 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01688, allocations: 1.188 kB / 0.7432 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.01688, allocations: 3.984 kB / 0.7432 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.01713, allocations: 194.5 kB / 0.7434 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.01717, allocations: 8 kB / 0.7434 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.01732, allocations: 34.19 kB / 0.7434 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.01738, allocations: 31.89 kB / 0.7435 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.0174, allocations: 9.203 kB / 0.7435 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001162/0.01751, allocations: 156.7 kB / 0.7436 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01751, allocations: 0 / 0.7436 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002317/0.01774, allocations: 103.9 kB / 0.7437 GB, free: 5.777 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 2 (cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * 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.0001623/0.01791, allocations: 125.7 kB / 0.7438 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003331/0.01824, allocations: 265.3 kB / 0.7441 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.01825, allocations: 4.875 kB / 0.7441 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.01839, allocations: 97.44 kB / 0.7442 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/0.01889, allocations: 0.7247 MB / 0.7449 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.02183, allocations: 0.7121 MB / 0.7456 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.52e-05/0.0219, allocations: 136.9 kB / 0.7457 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002277/0.02213, allocations: 82.61 kB / 0.7458 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.02241, allocations: 146.5 kB / 0.7459 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of SimCode: time 6.21e-07/0.02241, allocations: 4 kB / 0.7459 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of Templates: time 0.01102/0.03343, allocations: 10.38 MB / 0.7561 GB, free: 9.184 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.892992860637605]