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.0009223/0.0009223, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001124/0.001124, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.9402/0.9402, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.819/1.819, allocations: 377.9 MB / 0.6228 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] 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.994e-06/1.994e-06, allocations: 0 / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.484e-05/3.683e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003323/0.00336, allocations: 1.518 MB / 0.9837 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003288/0.003689, allocations: 151.5 kB / 0.9839 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.003741, allocations: 0 / 0.9839 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.003779, allocations: 7.922 kB / 0.9839 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.552e-05/0.003844, allocations: 15.86 kB / 0.9839 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001052/0.00395, allocations: 7.984 kB / 0.9839 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.004073, allocations: 51.8 kB / 0.9839 GB, free: 284 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.004209, allocations: 7.984 kB / 0.9839 GB, free: 276 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.831e-05/0.004307, allocations: 19.98 kB / 0.984 GB, free: 256 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.155e-05/0.004359, allocations: 15.97 kB / 0.984 GB, free: 240 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.004392, allocations: 8 kB / 0.984 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.004403, allocations: 7.938 kB / 0.984 GB, free: 224 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.004426, allocations: 7.984 kB / 0.984 GB, free: 216 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.194e-05/0.004458, allocations: 15.98 kB / 0.984 GB, free: 200 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.004583, allocations: 39.83 kB / 0.9841 GB, free: 160 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.004587, allocations: 0 / 0.9841 GB, free: 160 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.573e-06/0.004588, allocations: 0 / 0.9841 GB, free: 160 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.004594, allocations: 0 / 0.9841 GB, free: 160 kB / 0.9323 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.0005711/0.005165, allocations: 290.2 kB / 0.9843 GB, free: 15.84 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.005212, allocations: 16.03 kB / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.005253, allocations: 4.891 kB / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.00536, allocations: 105.8 kB / 0.9844 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.005375, allocations: 4.375 kB / 0.9845 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.005387, allocations: 384 / 0.9845 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.00563, allocations: 74.14 kB / 0.9845 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.00564, allocations: 192 / 0.9845 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.005655, allocations: 4.375 kB / 0.9845 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.00566, allocations: 384 / 0.9845 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.005887, allocations: 67.88 kB / 0.9846 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.006287, allocations: 216.5 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.006462, allocations: 58.47 kB / 0.9849 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.006576, allocations: 40.91 kB / 0.9849 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.006589, allocations: 4 kB / 0.9849 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.006617, allocations: 34.56 kB / 0.9849 GB, free: 15.14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.006618, allocations: 0 / 0.9849 GB, free: 15.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.000454/0.007072, allocations: 125.5 kB / 0.9851 GB, free: 15.01 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.007114, allocations: 59.39 kB / 0.9851 GB, free: 14.94 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.007199, allocations: 109.8 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.007217, allocations: 33.69 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.007273, allocations: 92.03 kB / 0.9853 GB, free: 14.69 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.007295, allocations: 3.953 kB / 0.9853 GB, free: 14.69 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.007337, allocations: 13.72 kB / 0.9853 GB, free: 14.67 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.007456, allocations: 318.8 kB / 0.9857 GB, free: 14.35 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.007576, allocations: 31.97 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.861e-05/0.007674, allocations: 27.97 kB / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.007883, allocations: 72.78 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.007886, allocations: 0 / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002601/0.008146, allocations: 97.58 kB / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.008165, allocations: 7.938 kB / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.008173, allocations: 11.92 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.008189, allocations: 0 / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.008296, allocations: 15.98 kB / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.008302, allocations: 0 / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.84e-05/0.00836, allocations: 11.98 kB / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.008367, allocations: 0 / 0.9859 GB, free: 14.07 MB / 0.948 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 7.992e-05/0.008447, allocations: 117.8 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.008472, allocations: 0 / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.008506, allocations: 23.92 kB / 0.9861 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.008508, allocations: 0 / 0.9861 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.008513, allocations: 0 / 0.9861 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.008516, allocations: 0 / 0.9861 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.008663, allocations: 109.3 kB / 0.9862 GB, free: 13.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.008667, allocations: 4 kB / 0.9862 GB, free: 13.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.438e-05/0.008731, allocations: 11.98 kB / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.008733, allocations: 4 kB / 0.9862 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.008741, allocations: 0 / 0.9862 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.008746, allocations: 3.938 kB / 0.9862 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.008748, allocations: 4 kB / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.009055, allocations: 199.4 kB / 0.9864 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.009066, allocations: 4.375 kB / 0.9864 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.009081, allocations: 0 / 0.9864 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.04e-05/0.009171, allocations: 15.92 kB / 0.9864 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.009218, allocations: 3.984 kB / 0.9864 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.009223, allocations: 4 kB / 0.9864 GB, free: 13.52 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.809e-05/0.009271, allocations: 91.58 kB / 0.9865 GB, free: 13.43 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.009271, allocations: 3.938 kB / 0.9865 GB, free: 13.42 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002616/0.009533, allocations: 12 kB / 0.9865 GB, free: 13.41 MB / 0.948 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.0001392/0.009672, allocations: 107.2 kB / 0.9866 GB, free: 13.29 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002783/0.009951, allocations: 63.92 kB / 0.9867 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.009953, allocations: 4 kB / 0.9867 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.01006, allocations: 39.91 kB / 0.9867 GB, free: 13.19 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.01045, allocations: 7.984 kB / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.01085, allocations: 161.6 kB / 0.9869 GB, free: 12.99 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.832e-05/0.01092, allocations: 67.33 kB / 0.9869 GB, free: 12.91 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.01096, allocations: 16.5 kB / 0.987 GB, free: 12.89 MB / 0.948 GB Notification: Performance of SimCode: time 1.062e-06/0.01096, allocations: 0 / 0.987 GB, free: 12.89 MB / 0.948 GB Notification: Performance of Templates: time 0.002318/0.01328, allocations: 0.7782 MB / 0.9877 GB, free: 12.12 MB / 0.948 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: 6.7934079226106405]