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.002465/0.002465, allocations: 88.39 kB / 20.23 MB, free: 4.168 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.002893/0.002893, allocations: 161.3 kB / 23.55 MB, free: 0.8594 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.731/1.731, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 2.844/2.844, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.1.|cooCap.EIR.1.",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.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.497e-05/3.688e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.005405/0.005441, allocations: 2.717 MB / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004251/0.009692, allocations: 2.069 MB / 0.7911 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.009925, allocations: 5.688 kB / 0.7911 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.01095, allocations: 242.5 kB / 0.7913 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003384/0.01129, allocations: 85.72 kB / 0.7914 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.01281, allocations: 490.8 kB / 0.7919 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008851/0.01369, allocations: 0.5166 MB / 0.7924 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.01382, allocations: 29.47 kB / 0.7924 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005805/0.01441, allocations: 271.5 kB / 0.7927 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/0.01479, allocations: 184.6 kB / 0.7928 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.0149, allocations: 36 kB / 0.7929 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005859/0.01549, allocations: 273.1 kB / 0.7931 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.01574, allocations: 163.5 kB / 0.7933 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.01602, allocations: 135.7 kB / 0.7934 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.01728, allocations: 0.8101 MB / 0.7942 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.01728, allocations: 2.094 kB / 0.7942 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.763e-06/0.01729, allocations: 0 / 0.7942 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.0173, allocations: 4 kB / 0.7942 GB, free: 4.801 MB / 0.7448 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.0022/0.0195, allocations: 0.7621 MB / 0.795 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.01955, allocations: 12.03 kB / 0.795 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002436/0.02199, allocations: 259 kB / 0.7952 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00074/0.02273, allocations: 373.5 kB / 0.7956 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.02294, allocations: 135.3 kB / 0.7957 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/0.02301, allocations: 16.38 kB / 0.7957 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.02449, allocations: 0.5143 MB / 0.7962 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.0245, allocations: 192 / 0.7962 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.02455, allocations: 8.125 kB / 0.7962 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.02456, allocations: 7.938 kB / 0.7962 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/0.02691, allocations: 0.749 MB / 0.797 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002757/0.02967, allocations: 1.101 MB / 0.798 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005919/0.03559, allocations: 0.9977 MB / 0.799 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.03673, allocations: 380.5 kB / 0.7994 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.03676, allocations: 8 kB / 0.7994 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001389/0.03815, allocations: 0.5068 MB / 0.7999 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=21): time 2.394e-06/0.03816, allocations: 0 / 0.7999 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of matching and sorting (n=21): time 0.003777/0.04193, allocations: 1.196 MB / 0.801 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.042, allocations: 59.34 kB / 0.8011 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008578/0.04286, allocations: 0.5135 MB / 0.8016 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002363/0.04309, allocations: 33.7 kB / 0.8016 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/0.04333, allocations: 200.5 kB / 0.8018 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.04344, allocations: 71.36 kB / 0.8019 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.04363, allocations: 69.66 kB / 0.802 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002417/0.04388, allocations: 358.8 kB / 0.8023 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.04514, allocations: 485.4 kB / 0.8028 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.04648, allocations: 0.5475 MB / 0.8033 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/0.04867, allocations: 0.7621 MB / 0.804 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.04867, allocations: 0 / 0.804 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002856/0.05153, allocations: 1.115 MB / 0.8051 GB, free: 9.395 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.732e-05/0.05162, allocations: 47.88 kB / 0.8052 GB, free: 9.344 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.05163, allocations: 3.984 kB / 0.8052 GB, free: 9.34 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.05165, allocations: 0 / 0.8052 GB, free: 9.34 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/0.0523, allocations: 91.83 kB / 0.8053 GB, free: 9.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.05231, allocations: 3.984 kB / 0.8053 GB, free: 9.246 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006/0.05291, allocations: 63.83 kB / 0.8053 GB, free: 9.184 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.506e-05/0.05298, allocations: 19.97 kB / 0.8054 GB, free: 9.164 MB / 0.7605 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.0003619/0.05334, allocations: 209.8 kB / 0.8056 GB, free: 8.949 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.0535, allocations: 47.72 kB / 0.8056 GB, free: 8.902 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.05364, allocations: 56.02 kB / 0.8057 GB, free: 8.848 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.05364, allocations: 0 / 0.8057 GB, free: 8.848 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.05365, allocations: 11.92 kB / 0.8057 GB, free: 8.836 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.05366, allocations: 0 / 0.8057 GB, free: 8.836 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007755/0.05443, allocations: 0.5044 MB / 0.8062 GB, free: 8.301 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.05444, allocations: 0 / 0.8062 GB, free: 8.301 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000658/0.05509, allocations: 87.89 kB / 0.8062 GB, free: 8.215 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.0551, allocations: 0 / 0.8062 GB, free: 8.215 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.05514, allocations: 15.98 kB / 0.8063 GB, free: 8.199 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.05515, allocations: 3.984 kB / 0.8063 GB, free: 8.195 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.05515, allocations: 0 / 0.8063 GB, free: 8.195 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/0.05766, allocations: 0.8438 MB / 0.8071 GB, free: 7.332 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002953/0.05796, allocations: 115.6 kB / 0.8072 GB, free: 7.219 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-05/0.05805, allocations: 4 kB / 0.8072 GB, free: 7.215 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006244/0.05867, allocations: 67.91 kB / 0.8073 GB, free: 7.148 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.05878, allocations: 19.97 kB / 0.8073 GB, free: 7.129 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.05882, allocations: 15.97 kB / 0.8073 GB, free: 7.113 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005469/0.05937, allocations: 391 kB / 0.8077 GB, free: 6.73 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.05937, allocations: 4 kB / 0.8077 GB, free: 6.727 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004813/0.05985, allocations: 107.9 kB / 0.8078 GB, free: 6.621 MB / 0.7605 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.0003397/0.06019, allocations: 135.1 kB / 0.8079 GB, free: 6.48 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002769/0.06296, allocations: 0.9542 MB / 0.8088 GB, free: 5.508 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.06296, allocations: 0 / 0.8088 GB, free: 5.508 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.06412, allocations: 404.2 kB / 0.8092 GB, free: 5.113 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.06473, allocations: 127.7 kB / 0.8093 GB, free: 4.984 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.06754, allocations: 1.045 MB / 0.8104 GB, free: 3.91 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.06787, allocations: 249 kB / 0.8106 GB, free: 3.648 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005241/0.0684, allocations: 130.9 kB / 0.8107 GB, free: 3.516 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.0686, allocations: 44.47 kB / 0.8108 GB, free: 3.473 MB / 0.7605 GB Notification: Performance of SimCode: time 1.723e-06/0.0686, allocations: 0 / 0.8108 GB, free: 3.473 MB / 0.7605 GB Notification: Performance of Templates: time 0.01991/0.08851, allocations: 9.331 MB / 0.8199 GB, free: 10.28 MB / 0.7761 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.992439913912676]