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.0007394/0.0007394, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009506/0.00169, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006682/0.0006682, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008173/0.001485, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9482/0.9482, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08646/1.035, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.745/1.745, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4256/2.171, allocations: 123.3 MB / 0.728 GB, free: 5.809 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.693e-06/1.693e-06, allocations: 0 / 0.7294 GB, free: 4.48 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.593e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.477 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004313/0.004329, allocations: 2.947 MB / 0.7322 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00365/0.007978, allocations: 2.243 MB / 0.7344 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.008117, allocations: 0 / 0.7344 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006675/0.008785, allocations: 239.6 kB / 0.7347 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.008973, allocations: 77.83 kB / 0.7347 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.0101, allocations: 492.7 kB / 0.7352 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006572/0.01076, allocations: 0.5343 MB / 0.7357 GB, free: 14 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.01087, allocations: 34.88 kB / 0.7358 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004637/0.01134, allocations: 337.6 kB / 0.7361 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.01161, allocations: 183.6 kB / 0.7363 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.912e-05/0.01168, allocations: 36 kB / 0.7363 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005061/0.01219, allocations: 276.2 kB / 0.7366 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.01235, allocations: 143.6 kB / 0.7367 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.0125, allocations: 100.3 kB / 0.7368 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006195/0.01312, allocations: 463.6 kB / 0.7372 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.253e-05/0.01314, allocations: 0 / 0.7372 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01314, allocations: 0 / 0.7372 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.16e-05/0.01316, allocations: 1.781 kB / 0.7372 GB, free: 12.46 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.001219/0.01438, allocations: 0.7833 MB / 0.738 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.01441, allocations: 8.031 kB / 0.738 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.01579, allocations: 291.7 kB / 0.7383 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.0162, allocations: 284.8 kB / 0.7386 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.01632, allocations: 135.3 kB / 0.7387 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.093e-05/0.01638, allocations: 8.375 kB / 0.7387 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/0.01692, allocations: 221.2 kB / 0.7389 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.01693, allocations: 6.938 kB / 0.7389 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.01697, allocations: 12.11 kB / 0.7389 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.01698, allocations: 7.984 kB / 0.7389 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.01725, allocations: 74.11 kB / 0.739 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.01848, allocations: 0.4967 MB / 0.7395 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.02062, allocations: 479.8 kB / 0.7399 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.02085, allocations: 53.91 kB / 0.74 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.02089, allocations: 4 kB / 0.74 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003818/0.02127, allocations: 167.6 kB / 0.7402 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 2.955e-06/0.02127, allocations: 0 / 0.7402 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.0004687/0.02174, allocations: 199 kB / 0.7403 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.02177, allocations: 55.41 kB / 0.7404 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.02198, allocations: 370.6 kB / 0.7408 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.02202, allocations: 33.7 kB / 0.7408 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.232e-05/0.02208, allocations: 137.8 kB / 0.7409 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.884e-05/0.02213, allocations: 67.42 kB / 0.741 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.828e-05/0.02222, allocations: 61.62 kB / 0.741 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.367e-05/0.02231, allocations: 358.6 kB / 0.7414 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.02245, allocations: 115.2 kB / 0.7415 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.02259, allocations: 173 kB / 0.7417 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.02278, allocations: 173.1 kB / 0.7418 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.02279, allocations: 0 / 0.7418 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002893/0.02307, allocations: 300.6 kB / 0.7421 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.02311, allocations: 38.72 kB / 0.7421 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.02311, allocations: 4 kB / 0.7421 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-06/0.02312, allocations: 0 / 0.7421 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.02337, allocations: 89.86 kB / 0.7422 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-06/0.02337, allocations: 0 / 0.7422 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.02351, allocations: 38.25 kB / 0.7423 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.02354, allocations: 11.97 kB / 0.7423 GB, free: 7.074 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.0001202/0.02366, allocations: 129.5 kB / 0.7424 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.02371, allocations: 39.89 kB / 0.7424 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.02375, allocations: 40.95 kB / 0.7425 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.02375, allocations: 4 kB / 0.7425 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.02375, allocations: 5.031 kB / 0.7425 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.02376, allocations: 0 / 0.7425 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.02397, allocations: 241.6 kB / 0.7427 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.02397, allocations: 0.8438 kB / 0.7427 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.02417, allocations: 73.56 kB / 0.7428 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-05/0.02427, allocations: 75.59 kB / 0.7429 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.02428, allocations: 5.844 kB / 0.7429 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.0243, allocations: 11.98 kB / 0.7429 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.0243, allocations: 0 / 0.7429 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.0243, allocations: 0 / 0.7429 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.02455, allocations: 194.2 kB / 0.7431 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.02459, allocations: 4 kB / 0.7431 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.02473, allocations: 33.72 kB / 0.7431 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.02478, allocations: 28.98 kB / 0.7431 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.0248, allocations: 7.984 kB / 0.7431 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001072/0.02491, allocations: 160.7 kB / 0.7433 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.02491, allocations: 1.5 kB / 0.7433 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002156/0.02512, allocations: 103.9 kB / 0.7434 GB, free: 5.906 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.0001707/0.02529, allocations: 129.3 kB / 0.7435 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003104/0.0256, allocations: 264.1 kB / 0.7438 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.02561, allocations: 4 kB / 0.7438 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.02572, allocations: 86.45 kB / 0.7439 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.02598, allocations: 150.6 kB / 0.744 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.02886, allocations: 0.7162 MB / 0.7447 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.563e-05/0.02893, allocations: 133.9 kB / 0.7448 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002194/0.02915, allocations: 81.8 kB / 0.7449 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.02943, allocations: 153.8 kB / 0.745 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.02943, allocations: 0.75 kB / 0.745 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of Templates: time 0.01055/0.03997, allocations: 10.47 MB / 0.7553 GB, free: 9.949 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7133241426199675]