Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001651/0.001651, 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.001112/0.001112, allocations: 169 kB / 24.28 MB, free: 276 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.9772/0.9772, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.726/1.726, 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.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.725e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.001756/0.001773, allocations: 1.546 MB / 0.7886 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002171/0.00199, allocations: 160.7 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.337e-05/0.002024, allocations: 0 / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.002049, allocations: 9.453 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.199e-05/0.002091, allocations: 3.938 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 7.491e-05/0.002166, allocations: 11.98 kB / 0.7888 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.432e-05/0.002241, allocations: 53.05 kB / 0.7889 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.864e-05/0.002329, allocations: 7.938 kB / 0.7889 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.215e-05/0.002401, allocations: 23.92 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.837e-05/0.00244, allocations: 20.59 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.002459, allocations: 4 kB / 0.7889 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.693e-06/0.002465, allocations: 5.406 kB / 0.7889 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.002482, allocations: 7.938 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.002505, allocations: 11.98 kB / 0.7889 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.966e-05/0.002595, allocations: 39.83 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.002597, allocations: 0.7812 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.01e-07/0.002598, allocations: 0 / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.002602, allocations: 0.9375 kB / 0.789 GB, free: 10.86 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003689/0.002971, allocations: 373.2 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.003007, allocations: 12.03 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.00304, allocations: 10.02 kB / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.05e-05/0.00312, allocations: 116.5 kB / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.003134, allocations: 12.36 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.003143, allocations: 3.5 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.003264, allocations: 66.88 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.003271, allocations: 4.188 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.00328, allocations: 384 / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.003285, allocations: 384 / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.251e-05/0.003318, allocations: 7.938 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.003701, allocations: 255.9 kB / 0.7898 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.443e-05/0.003786, allocations: 43.7 kB / 0.7899 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.844e-05/0.003814, allocations: 15.69 kB / 0.7899 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.003822, allocations: 1.656 kB / 0.7899 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.003842, allocations: 33.39 kB / 0.7899 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.003843, allocations: 4 kB / 0.7899 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001447/0.003987, allocations: 53.67 kB / 0.79 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.004013, allocations: 53.12 kB / 0.79 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.236e-05/0.004086, allocations: 165.9 kB / 0.7902 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.004095, allocations: 25.7 kB / 0.7902 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.004139, allocations: 134.9 kB / 0.7903 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.004154, allocations: 9.172 kB / 0.7903 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.004183, allocations: 27.36 kB / 0.7904 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.004283, allocations: 492.1 kB / 0.7908 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.004301, allocations: 7.938 kB / 0.7908 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.259e-05/0.004314, allocations: 1.594 kB / 0.7908 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.425e-05/0.004348, allocations: 23.67 kB / 0.7909 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.00435, allocations: 0 / 0.7909 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.741e-05/0.004407, allocations: 45.66 kB / 0.7909 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.004421, allocations: 9.625 kB / 0.7909 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.004426, allocations: 0 / 0.7909 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.004436, allocations: 0 / 0.7909 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.004502, allocations: 15.92 kB / 0.7909 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.004506, allocations: 0.9062 kB / 0.7909 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.004529, allocations: 7.984 kB / 0.7909 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.004536, allocations: 4.844 kB / 0.7909 GB, free: 8.668 MB / 0.7448 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.853e-05/0.004595, allocations: 153.1 kB / 0.7911 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.004608, allocations: 4.328 kB / 0.7911 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.00463, allocations: 12.47 kB / 0.7911 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.004632, allocations: 1.188 kB / 0.7911 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.004636, allocations: 3.984 kB / 0.7911 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.004639, allocations: 0 / 0.7911 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.675e-05/0.004735, allocations: 133 kB / 0.7912 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.004736, allocations: 0 / 0.7912 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-05/0.004765, allocations: 17.36 kB / 0.7912 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.004766, allocations: 0 / 0.7912 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.004772, allocations: 0 / 0.7912 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.004775, allocations: 5.094 kB / 0.7913 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.004776, allocations: 4 kB / 0.7913 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.459e-05/0.004871, allocations: 195.9 kB / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-06/0.004876, allocations: 0.9688 kB / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.004886, allocations: 0 / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.813e-05/0.004924, allocations: 15.92 kB / 0.7915 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.004961, allocations: 0.8125 kB / 0.7915 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-06/0.004964, allocations: 3.984 kB / 0.7915 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.543e-05/0.005, allocations: 136.1 kB / 0.7916 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005, allocations: 0 / 0.7916 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001344/0.005134, allocations: 9.297 kB / 0.7916 GB, free: 7.93 MB / 0.7448 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.494e-05/0.005199, allocations: 95.25 kB / 0.7917 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.183e-05/0.005281, allocations: 24.55 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.005283, allocations: 7.938 kB / 0.7917 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-05/0.005306, allocations: 15.62 kB / 0.7917 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.005492, allocations: 10.2 kB / 0.7917 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.005764, allocations: 146.6 kB / 0.7919 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.969e-05/0.005793, allocations: 54.8 kB / 0.7919 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.256e-05/0.005816, allocations: 4 kB / 0.7919 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.005841, allocations: 8.5 kB / 0.792 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of SimCode: time 4.1e-07/0.005842, allocations: 0 / 0.792 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of Templates: time 0.002164/0.008006, allocations: 0.8819 MB / 0.7928 GB, free: 6.668 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.8240037630312145]