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.002329/0.002329, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002702/0.002702, allocations: 163.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.63/1.63, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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.004/3.004, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 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.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.1.|cooCap.EIR.1.",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.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.9815 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.361e-05/3.541e-05, allocations: 9.453 kB / 0.9815 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004837/0.004872, allocations: 2.705 MB / 0.9841 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003967/0.00884, allocations: 2.075 MB / 0.9861 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.008993, allocations: 4 kB / 0.9861 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009351/0.009928, allocations: 234.6 kB / 0.9864 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.01014, allocations: 91.14 kB / 0.9864 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.01157, allocations: 492.3 kB / 0.9869 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007594/0.01233, allocations: 0.5296 MB / 0.9874 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.01246, allocations: 28.86 kB / 0.9875 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003467/0.01281, allocations: 267.5 kB / 0.9877 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.01309, allocations: 179.6 kB / 0.9879 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.699e-05/0.01318, allocations: 36 kB / 0.9879 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005217/0.0137, allocations: 271.5 kB / 0.9882 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.01393, allocations: 159.6 kB / 0.9883 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.01414, allocations: 143.6 kB / 0.9885 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.01531, allocations: 0.8102 MB / 0.9893 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.01531, allocations: 4 kB / 0.9893 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.292e-06/0.01531, allocations: 0 / 0.9893 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.01532, allocations: 0 / 0.9893 GB, free: 3.93 MB / 0.9356 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.001661/0.01699, allocations: 0.7643 MB / 0.99 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.01704, allocations: 12.02 kB / 0.99 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002359/0.0194, allocations: 240.4 kB / 0.9903 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007711/0.02017, allocations: 371.8 kB / 0.9906 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.02037, allocations: 135.3 kB / 0.9907 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.339e-05/0.02044, allocations: 16.38 kB / 0.9908 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.02195, allocations: 0.5134 MB / 0.9913 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.02197, allocations: 192 / 0.9913 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/0.02201, allocations: 4.125 kB / 0.9913 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.02202, allocations: 7.938 kB / 0.9913 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/0.02444, allocations: 0.7611 MB / 0.992 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002693/0.02713, allocations: 1.116 MB / 0.9931 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005839/0.03297, allocations: 0.99 MB / 0.9941 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.03411, allocations: 384.6 kB / 0.9944 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.03414, allocations: 7.938 kB / 0.9944 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/0.03555, allocations: 0.5145 MB / 0.9949 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=21): time 2.725e-06/0.03556, allocations: 0 / 0.9949 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21): time 0.003869/0.03942, allocations: 1.171 MB / 0.9961 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.03949, allocations: 67.33 kB / 0.9961 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008293/0.04032, allocations: 0.5175 MB / 0.9967 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.445e-05/0.04042, allocations: 33.7 kB / 0.9967 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.04066, allocations: 204.5 kB / 0.9969 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.04077, allocations: 67.42 kB / 0.9969 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.04097, allocations: 65.66 kB / 0.997 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002511/0.04122, allocations: 358.8 kB / 0.9974 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.04252, allocations: 477.4 kB / 0.9978 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.0439, allocations: 0.5515 MB / 0.9983 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002351/0.04625, allocations: 0.7584 MB / 0.9991 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.04625, allocations: 0 / 0.9991 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.003021/0.04928, allocations: 1.105 MB / 1 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.506e-05/0.04935, allocations: 45.69 kB / 1 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.04936, allocations: 0 / 1 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.04938, allocations: 0 / 1 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000687/0.05007, allocations: 95.81 kB / 1 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.05007, allocations: 0 / 1 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005876/0.05066, allocations: 67.77 kB / 1 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.781e-05/0.05073, allocations: 15.98 kB / 1 GB, free: 8.281 MB / 0.9512 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.0003945/0.05112, allocations: 215.8 kB / 1.001 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.05125, allocations: 51.7 kB / 1.001 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.05137, allocations: 44.02 kB / 1.001 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.05137, allocations: 4 kB / 1.001 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.05138, allocations: 3.984 kB / 1.001 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.05139, allocations: 0 / 1.001 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007998/0.05219, allocations: 0.5047 MB / 1.001 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.05219, allocations: 0 / 1.001 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006479/0.05284, allocations: 83.89 kB / 1.001 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.05284, allocations: 0 / 1.001 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.05289, allocations: 15.98 kB / 1.001 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.05289, allocations: 0 / 1.001 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.05289, allocations: 4 kB / 1.001 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.05541, allocations: 0.8379 MB / 1.002 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/0.0557, allocations: 119.6 kB / 1.002 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.515e-05/0.0558, allocations: 4 kB / 1.002 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006341/0.05643, allocations: 59.92 kB / 1.002 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.05655, allocations: 27.95 kB / 1.002 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.05659, allocations: 11.98 kB / 1.002 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005581/0.05715, allocations: 399 kB / 1.003 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.05715, allocations: 0 / 1.003 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004619/0.05761, allocations: 99.83 kB / 1.003 GB, free: 5.77 MB / 0.9512 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.000382/0.058, allocations: 139.1 kB / 1.003 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002712/0.06071, allocations: 0.9481 MB / 1.004 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.06071, allocations: 0 / 1.004 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.06194, allocations: 411.6 kB / 1.004 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/0.06247, allocations: 99.8 kB / 1.004 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.06527, allocations: 1.048 MB / 1.005 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.06561, allocations: 252.9 kB / 1.006 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004649/0.06608, allocations: 126.9 kB / 1.006 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.06628, allocations: 44.47 kB / 1.006 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of SimCode: time 4.91e-07/0.06628, allocations: 4 kB / 1.006 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of Templates: time 0.01915/0.08543, allocations: 9.199 MB / 1.015 GB, free: 9.578 MB / 0.9669 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.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: 9.409178342670202]