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.002041/0.002041, allocations: 78.48 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002588/0.002588, allocations: 168.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.579/1.579, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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 2.954/2.954, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 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 2.134e-06/2.134e-06, allocations: 0 / 0.9815 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.512e-05/3.726e-05, allocations: 6.219 kB / 0.9815 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003308/0.003346, allocations: 1.518 MB / 0.9829 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000326/0.003672, allocations: 147.5 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.003716, allocations: 0 / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.552e-05/0.003762, allocations: 3.938 kB / 0.9831 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.254e-05/0.003824, allocations: 3.938 kB / 0.9831 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.562e-05/0.00392, allocations: 19.97 kB / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.004031, allocations: 51.8 kB / 0.9832 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.004158, allocations: 7.984 kB / 0.9832 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.004263, allocations: 31.91 kB / 0.9832 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.004318, allocations: 19.86 kB / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.004342, allocations: 4 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.004353, allocations: 4 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.004379, allocations: 7.984 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.004417, allocations: 11.94 kB / 0.9832 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.004533, allocations: 43.92 kB / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.004536, allocations: 0 / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.353e-06/0.004537, allocations: 4 kB / 0.9833 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.004544, allocations: 0 / 0.9833 GB, free: 10.05 MB / 0.9356 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.000799/0.005343, allocations: 282.2 kB / 0.9836 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.005385, allocations: 12.03 kB / 0.9836 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.005424, allocations: 4.891 kB / 0.9836 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.005557, allocations: 113.8 kB / 0.9837 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.005569, allocations: 384 / 0.9837 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.005584, allocations: 4.375 kB / 0.9837 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.00592, allocations: 78.14 kB / 0.9838 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.005927, allocations: 192 / 0.9838 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.00594, allocations: 8.312 kB / 0.9838 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.005949, allocations: 4.375 kB / 0.9838 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.006263, allocations: 63.86 kB / 0.9838 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.006676, allocations: 212.5 kB / 0.984 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.006908, allocations: 54.53 kB / 0.9841 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.007085, allocations: 44.86 kB / 0.9841 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.0071, allocations: 0 / 0.9841 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.007131, allocations: 30.56 kB / 0.9842 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.007132, allocations: 0 / 0.9842 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0006078/0.00774, allocations: 137.5 kB / 0.9843 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.007812, allocations: 51.41 kB / 0.9843 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.007924, allocations: 105.8 kB / 0.9844 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.007945, allocations: 25.7 kB / 0.9845 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.008027, allocations: 92.09 kB / 0.9846 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.008053, allocations: 7.938 kB / 0.9846 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.008099, allocations: 17.72 kB / 0.9846 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.008304, allocations: 310.8 kB / 0.9849 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.00847, allocations: 43.89 kB / 0.9849 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.008614, allocations: 27.97 kB / 0.985 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.008957, allocations: 68.78 kB / 0.985 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.008959, allocations: 0 / 0.985 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003642/0.009324, allocations: 105.6 kB / 0.9851 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.009343, allocations: 7.938 kB / 0.9851 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.009349, allocations: 0 / 0.9851 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.009368, allocations: 3.938 kB / 0.9851 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.009519, allocations: 15.98 kB / 0.9851 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.009534, allocations: 7.922 kB / 0.9852 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.708e-05/0.009621, allocations: 15.98 kB / 0.9852 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.009629, allocations: 0 / 0.9852 GB, free: 7.961 MB / 0.9356 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.0001199/0.009749, allocations: 113.8 kB / 0.9853 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.009772, allocations: 0 / 0.9853 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.009803, allocations: 7.938 kB / 0.9853 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.009807, allocations: 4 kB / 0.9853 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.009811, allocations: 0 / 0.9853 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.009815, allocations: 0 / 0.9853 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.009986, allocations: 113.3 kB / 0.9854 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.009987, allocations: 3.938 kB / 0.9854 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.01009, allocations: 19.97 kB / 0.9854 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.0101, allocations: 336 / 0.9854 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.01011, allocations: 4 kB / 0.9854 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.01011, allocations: 3.938 kB / 0.9854 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01011, allocations: 0 / 0.9854 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.01055, allocations: 195.4 kB / 0.9856 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.01056, allocations: 12 kB / 0.9856 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.01057, allocations: 3.984 kB / 0.9856 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.0107, allocations: 23.92 kB / 0.9856 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.01074, allocations: 0 / 0.9856 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.01075, allocations: 0 / 0.9856 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.217e-05/0.01081, allocations: 91.27 kB / 0.9857 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01081, allocations: 0 / 0.9857 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002247/0.01103, allocations: 8 kB / 0.9857 GB, free: 7.312 MB / 0.9356 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.0001554/0.01119, allocations: 101.5 kB / 0.9858 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003803/0.01157, allocations: 67.92 kB / 0.9859 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01157, allocations: 0 / 0.9859 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.01174, allocations: 39.89 kB / 0.9859 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.01211, allocations: 12.55 kB / 0.986 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/0.01254, allocations: 144.6 kB / 0.9861 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.886e-05/0.01262, allocations: 63.34 kB / 0.9862 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.539e-05/0.01266, allocations: 0 / 0.9862 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.0127, allocations: 12.5 kB / 0.9862 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.0127, allocations: 0 / 0.9862 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of Templates: time 0.004006/0.01671, allocations: 0.876 MB / 0.987 GB, free: 5.969 MB / 0.9356 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.842340465635061]