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.0009478/0.0009478, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.000936/0.000936, allocations: 161.4 kB / 24.17 MB, free: 328 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.9461/0.9461, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.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.835/1.835, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 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.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.133e-06/1.133e-06, allocations: 3.938 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.326e-05/1.439e-05, allocations: 2.312 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.001801/0.001815, allocations: 1.567 MB / 0.7616 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002237/0.002039, allocations: 153.5 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.002069, allocations: 0 / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.002094, allocations: 9.047 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.027e-05/0.002144, allocations: 16.73 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 7.002e-05/0.002214, allocations: 12.86 kB / 0.7618 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.43e-05/0.002299, allocations: 45.72 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.311e-05/0.002372, allocations: 8.766 kB / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.412e-05/0.002446, allocations: 25.84 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.778e-05/0.002484, allocations: 18.34 kB / 0.7618 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.002499, allocations: 8.891 kB / 0.7619 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-06/0.002506, allocations: 4 kB / 0.7619 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.002528, allocations: 9.75 kB / 0.7619 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.002547, allocations: 16.55 kB / 0.7619 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.765e-05/0.002615, allocations: 29.34 kB / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.002617, allocations: 0 / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.41e-07/0.002617, allocations: 0 / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.775e-06/0.00262, allocations: 0 / 0.7619 GB, free: 4.727 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00024/0.00286, allocations: 250.8 kB / 0.7622 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.002888, allocations: 8.031 kB / 0.7622 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.849e-05/0.002907, allocations: 4.938 kB / 0.7622 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.046e-05/0.002977, allocations: 125.5 kB / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.002984, allocations: 1.719 kB / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.002993, allocations: 4.375 kB / 0.7623 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.38e-05/0.003087, allocations: 62.94 kB / 0.7624 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.003093, allocations: 1.438 kB / 0.7624 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-06/0.0031, allocations: 384 / 0.7624 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-06/0.003103, allocations: 384 / 0.7624 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.03e-05/0.003123, allocations: 11.94 kB / 0.7624 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002523/0.003376, allocations: 161.4 kB / 0.7625 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.758e-05/0.003423, allocations: 22.58 kB / 0.7625 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.572e-05/0.003439, allocations: 9.906 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.003449, allocations: 8.047 kB / 0.7626 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.003474, allocations: 35.09 kB / 0.7626 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.003475, allocations: 0 / 0.7626 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001005/0.003576, allocations: 50.72 kB / 0.7626 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.003603, allocations: 51.41 kB / 0.7627 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.567e-05/0.003659, allocations: 110.7 kB / 0.7628 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.003668, allocations: 26.48 kB / 0.7628 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.003699, allocations: 88.12 kB / 0.7629 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.003716, allocations: 9.172 kB / 0.7629 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.003739, allocations: 17.7 kB / 0.7629 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.003812, allocations: 318.8 kB / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-06/0.003821, allocations: 1.5 kB / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.718e-06/0.003831, allocations: 4 kB / 0.7632 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.156e-05/0.003853, allocations: 12.84 kB / 0.7633 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.003854, allocations: 0 / 0.7633 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.686e-05/0.003901, allocations: 46.19 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.003917, allocations: 5.875 kB / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.003922, allocations: 0.75 kB / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.003934, allocations: 3.938 kB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.114e-05/0.003985, allocations: 12.73 kB / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.003987, allocations: 0.6562 kB / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.208e-05/0.004009, allocations: 4 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.004015, allocations: 5.344 kB / 0.7633 GB, free: 3.137 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: 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 5.099e-05/0.004066, allocations: 109.8 kB / 0.7634 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.00408, allocations: 11.92 kB / 0.7634 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.763e-05/0.004097, allocations: 6.438 kB / 0.7634 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.0041, allocations: 3.938 kB / 0.7635 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.004103, allocations: 4 kB / 0.7635 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.004106, allocations: 0 / 0.7635 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.318e-05/0.004189, allocations: 81.81 kB / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.00419, allocations: 0 / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.004213, allocations: 14.84 kB / 0.7635 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.004214, allocations: 0 / 0.7635 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-06/0.004217, allocations: 0 / 0.7635 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.004218, allocations: 0 / 0.7635 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.004221, allocations: 7.984 kB / 0.7636 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.985e-05/0.004291, allocations: 131.5 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-06/0.004299, allocations: 7.953 kB / 0.7637 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-06/0.004306, allocations: 0 / 0.7637 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.28e-05/0.004339, allocations: 4.656 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.004369, allocations: 13.3 kB / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.004375, allocations: 3.938 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.204e-05/0.004387, allocations: 12.84 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004387, allocations: 0 / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000114/0.004501, allocations: 11.25 kB / 0.7637 GB, free: 2.68 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: 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 6.076e-05/0.004562, allocations: 76.42 kB / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.306e-05/0.004615, allocations: 21.17 kB / 0.7638 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.004618, allocations: 4 kB / 0.7638 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.105e-05/0.004639, allocations: 24.91 kB / 0.7639 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.004764, allocations: 7.578 kB / 0.7639 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000212/0.004976, allocations: 132.5 kB / 0.764 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.97e-05/0.005006, allocations: 63.28 kB / 0.764 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.248e-05/0.005028, allocations: 5.406 kB / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.005076, allocations: 51.38 kB / 0.7641 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.005077, allocations: 0 / 0.7641 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of Templates: time 0.001917/0.006994, allocations: 0.8353 MB / 0.7649 GB, free: 1.457 MB / 0.7136 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) [Timeout 240] 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","",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.8276473437435925]