Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.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.001571/0.001571, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001761/0.001761, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.614/1.614, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 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.057/3.057, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 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.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.205e-05/3.395e-05, allocations: 4.219 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003351/0.003385, allocations: 1.522 MB / 0.8123 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003309/0.003716, allocations: 152.4 kB / 0.8125 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.003759, allocations: 0.6875 kB / 0.8125 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/0.003792, allocations: 3.938 kB / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.863e-05/0.003851, allocations: 8.781 kB / 0.8125 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 8.606e-05/0.003937, allocations: 12.64 kB / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.004048, allocations: 47.84 kB / 0.8126 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.004155, allocations: 9.234 kB / 0.8126 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.004264, allocations: 27.91 kB / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.094e-05/0.004315, allocations: 15.98 kB / 0.8126 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.004339, allocations: 4.844 kB / 0.8126 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.00435, allocations: 4 kB / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.004375, allocations: 12.8 kB / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.004409, allocations: 8 kB / 0.8126 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.004535, allocations: 48.73 kB / 0.8127 GB, free: 220 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.004538, allocations: 0 / 0.8127 GB, free: 220 kB / 0.7605 GB Notification: Performance of FrontEnd: time 8.21e-07/0.004539, allocations: 0 / 0.8127 GB, free: 220 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.004544, allocations: 1.25 kB / 0.8127 GB, free: 220 kB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006942/0.005238, allocations: 287.9 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.005286, allocations: 8.031 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.005337, allocations: 8.891 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.005476, allocations: 113.7 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.005489, allocations: 384 / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.005502, allocations: 9.562 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.005774, allocations: 66.22 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.005783, allocations: 1.125 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.005794, allocations: 384 / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.005802, allocations: 4.906 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.006115, allocations: 66.77 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.006555, allocations: 208.6 kB / 0.8134 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.006772, allocations: 58.47 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.006932, allocations: 38.45 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.006947, allocations: 0 / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.006981, allocations: 31.12 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.006982, allocations: 5.406 kB / 0.8135 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0006029/0.007585, allocations: 138.8 kB / 0.8137 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.007634, allocations: 57.28 kB / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.007756, allocations: 109.8 kB / 0.8138 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003035/0.00806, allocations: 25.7 kB / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/0.008137, allocations: 84.14 kB / 0.8139 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.008157, allocations: 3.953 kB / 0.8139 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.008201, allocations: 22.33 kB / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.008387, allocations: 314.8 kB / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.008542, allocations: 29.91 kB / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.008685, allocations: 35.98 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.008973, allocations: 70.5 kB / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.008975, allocations: 0.8125 kB / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003592/0.009334, allocations: 103.8 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.009353, allocations: 15.88 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.009357, allocations: 0 / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.009376, allocations: 0 / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.00951, allocations: 16.86 kB / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.009519, allocations: 4.312 kB / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.436e-05/0.009603, allocations: 18.12 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.00961, allocations: 0 / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001047/0.009715, allocations: 109.8 kB / 0.8147 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.009742, allocations: 4 kB / 0.8147 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.009772, allocations: 12.5 kB / 0.8147 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.009773, allocations: 3.438 kB / 0.8147 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.009778, allocations: 0 / 0.8147 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.00978, allocations: 0 / 0.8147 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.00995, allocations: 113.3 kB / 0.8148 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.009951, allocations: 0 / 0.8148 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.01008, allocations: 23.97 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01008, allocations: 0 / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.01009, allocations: 0 / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.01009, allocations: 3.938 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.01009, allocations: 4.484 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/0.01053, allocations: 197.8 kB / 0.815 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-06/0.01054, allocations: 0 / 0.815 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.01056, allocations: 4 kB / 0.815 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.01068, allocations: 20.69 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.01073, allocations: 4 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.01073, allocations: 0.5625 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.363e-05/0.01081, allocations: 92.36 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01081, allocations: 0 / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002354/0.01104, allocations: 7.953 kB / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001524/0.01119, allocations: 99.84 kB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003586/0.01155, allocations: 77.08 kB / 0.8153 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01155, allocations: 0 / 0.8153 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.01172, allocations: 35.95 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.01208, allocations: 12 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.01251, allocations: 132.6 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.146e-05/0.01259, allocations: 72.02 kB / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.001e-05/0.01263, allocations: 5.484 kB / 0.8155 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.01267, allocations: 13.56 kB / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.01267, allocations: 0 / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of Templates: time 0.003977/0.01665, allocations: 0.8793 MB / 0.8164 GB, free: 12.17 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.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.531347912037745]