Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001461/0.001461, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009791/0.0009791, allocations: 169 kB / 24.28 MB, free: 280 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.9287/0.9287, allocations: 177.2 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.748/1.748, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 4 kB / 0.7871 GB, free: 11.65 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.73e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.64 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003225/0.003253, allocations: 2.908 MB / 0.79 GB, free: 8.738 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002513/0.005766, allocations: 2.223 MB / 0.7921 GB, free: 6.516 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.005898, allocations: 4 kB / 0.7921 GB, free: 6.512 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006531/0.006551, allocations: 230.5 kB / 0.7924 GB, free: 6.285 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.006684, allocations: 82.16 kB / 0.7924 GB, free: 6.207 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009157/0.007599, allocations: 490.1 kB / 0.7929 GB, free: 5.73 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005063/0.008106, allocations: 0.5265 MB / 0.7934 GB, free: 5.203 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.008216, allocations: 28.86 kB / 0.7935 GB, free: 5.176 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.008495, allocations: 264.3 kB / 0.7937 GB, free: 4.918 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.0087, allocations: 185.5 kB / 0.7939 GB, free: 4.738 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.51e-05/0.008756, allocations: 36 kB / 0.7939 GB, free: 4.703 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003524/0.009108, allocations: 267.5 kB / 0.7942 GB, free: 4.441 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.009252, allocations: 167.5 kB / 0.7943 GB, free: 4.277 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.009382, allocations: 135.7 kB / 0.7945 GB, free: 4.145 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005822/0.009964, allocations: 0.5397 MB / 0.795 GB, free: 3.605 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.009969, allocations: 0 / 0.795 GB, free: 3.605 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.102e-06/0.00997, allocations: 0 / 0.795 GB, free: 3.605 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.009977, allocations: 3.938 kB / 0.795 GB, free: 3.602 MB / 0.698 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.0009563/0.01093, allocations: 0.8647 MB / 0.7958 GB, free: 2.688 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.01097, allocations: 12.56 kB / 0.7958 GB, free: 2.676 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.01205, allocations: 219.4 kB / 0.7961 GB, free: 2.469 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.01243, allocations: 335.4 kB / 0.7964 GB, free: 2.117 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.01253, allocations: 135.3 kB / 0.7965 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.01257, allocations: 16.38 kB / 0.7965 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004558/0.01303, allocations: 236.7 kB / 0.7967 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.01304, allocations: 192 / 0.7967 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.01306, allocations: 12.12 kB / 0.7968 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.01307, allocations: 3.312 kB / 0.7968 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.01334, allocations: 117.2 kB / 0.7969 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.01445, allocations: 0.8099 MB / 0.7977 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.01611, allocations: 475.5 kB / 0.7981 GB, free: 284 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.01626, allocations: 79.59 kB / 0.7982 GB, free: 200 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.01629, allocations: 4 kB / 0.7982 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002892/0.01658, allocations: 183.3 kB / 0.7984 GB, free: 0 / 0.698 GB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.01658, allocations: 0 / 0.7984 GB, free: 0 / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.0006338/0.01721, allocations: 301.6 kB / 0.7987 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.01726, allocations: 63.28 kB / 0.7987 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/0.01766, allocations: 0.53 MB / 0.7992 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.01771, allocations: 33.7 kB / 0.7993 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.01786, allocations: 283.2 kB / 0.7995 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.263e-05/0.01793, allocations: 71.42 kB / 0.7996 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.01803, allocations: 75.31 kB / 0.7997 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.0182, allocations: 0.5587 MB / 0.8002 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.01843, allocations: 145.6 kB / 0.8004 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.01867, allocations: 237.5 kB / 0.8006 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.01897, allocations: 209.3 kB / 0.8008 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01897, allocations: 0 / 0.8008 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006251/0.01959, allocations: 0.5101 MB / 0.8013 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.01963, allocations: 39.88 kB / 0.8013 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.01964, allocations: 4 kB / 0.8013 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.01965, allocations: 4 kB / 0.8013 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.0199, allocations: 63.94 kB / 0.8014 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.01991, allocations: 0 / 0.8014 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.02009, allocations: 47.8 kB / 0.8014 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.02012, allocations: 15.98 kB / 0.8015 GB, free: 12.71 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.0001456/0.02027, allocations: 172.5 kB / 0.8016 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.508e-05/0.02034, allocations: 47.72 kB / 0.8017 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.02039, allocations: 44.02 kB / 0.8017 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.0204, allocations: 7.938 kB / 0.8017 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.0204, allocations: 0 / 0.8017 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.0204, allocations: 3.984 kB / 0.8017 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.02076, allocations: 403.9 kB / 0.8021 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.02076, allocations: 4 kB / 0.8021 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.02097, allocations: 71.88 kB / 0.8022 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.02097, allocations: 0 / 0.8022 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.021, allocations: 11.97 kB / 0.8022 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.021, allocations: 0 / 0.8022 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.021, allocations: 0 / 0.8022 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004317/0.02143, allocations: 286 kB / 0.8025 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.02158, allocations: 107.6 kB / 0.8026 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/0.02162, allocations: 8 kB / 0.8026 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.0218, allocations: 31.95 kB / 0.8026 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.453e-05/0.02188, allocations: 27.95 kB / 0.8026 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.0219, allocations: 15.98 kB / 0.8026 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002371/0.02214, allocations: 335 kB / 0.803 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.02214, allocations: 0 / 0.803 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002926/0.02243, allocations: 99.94 kB / 0.8031 GB, free: 11.01 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.0002167/0.02265, allocations: 139.1 kB / 0.8032 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004921/0.02314, allocations: 334.2 kB / 0.8035 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.02314, allocations: 4 kB / 0.8035 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.02331, allocations: 103.6 kB / 0.8036 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.02366, allocations: 131 kB / 0.8037 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.02501, allocations: 0.7183 MB / 0.8044 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.977e-05/0.0251, allocations: 133.1 kB / 0.8046 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002773/0.02537, allocations: 114.9 kB / 0.8047 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.02549, allocations: 40.47 kB / 0.8047 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of SimCode: time 8.21e-07/0.0255, allocations: 0 / 0.8047 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of Templates: time 0.01128/0.03678, allocations: 9.496 MB / 0.814 GB, free: 15.87 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.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.067833372857422]