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.001947/0.001947, allocations: 112.6 kB / 17.13 MB, free: 6.008 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.002439/0.002439, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.532/1.532, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.047/3.047, allocations: 0.49 GB / 0.7923 GB, free: 1.359 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 75.89 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068/1.07, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002626/1.073, allocations: 1.527 MB / 1.323 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002368/1.073, allocations: 153.6 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/1.073, allocations: 2.875 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/1.073, allocations: 3.938 kB / 1.324 GB, free: 23.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.839e-05/1.073, allocations: 7.922 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.925e-05/1.073, allocations: 12.88 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.465e-05/1.073, allocations: 44.08 kB / 1.324 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/1.074, allocations: 11.03 kB / 1.324 GB, free: 23.81 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.216e-05/1.074, allocations: 27.17 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.346e-05/1.074, allocations: 21.09 kB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/1.074, allocations: 2.812 kB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.355e-06/1.074, allocations: 2.844 kB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/1.074, allocations: 9.938 kB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/1.074, allocations: 18.33 kB / 1.324 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.645e-05/1.074, allocations: 40.77 kB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.074, allocations: 0 / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.993e-06/1.074, allocations: 0 / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.482e-06/1.074, allocations: 0 / 1.324 GB, free: 23.76 MB / 1.061 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.0004893/1.074, allocations: 372 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/1.074, allocations: 14.33 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/1.074, allocations: 6.984 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.504e-05/1.075, allocations: 166.8 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/1.075, allocations: 384 / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/1.075, allocations: 2.938 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/1.075, allocations: 70.98 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/1.075, allocations: 4.125 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/1.075, allocations: 6.625 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.075, allocations: 0 / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/1.075, allocations: 66.66 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/1.075, allocations: 276.2 kB / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/1.076, allocations: 58.58 kB / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/1.076, allocations: 39.38 kB / 1.325 GB, free: 22.78 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/1.076, allocations: 0 / 1.325 GB, free: 22.78 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/1.076, allocations: 37.34 kB / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/1.076, allocations: 0 / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005158/1.076, allocations: 124.4 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/1.076, allocations: 51.41 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.326e-05/1.076, allocations: 116.5 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/1.076, allocations: 25.7 kB / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/1.076, allocations: 87.47 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/1.076, allocations: 14.78 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/1.076, allocations: 16.28 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.831e-05/1.077, allocations: 318.2 kB / 1.326 GB, free: 22.06 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/1.077, allocations: 32.73 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/1.077, allocations: 35.47 kB / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/1.077, allocations: 72.09 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.077, allocations: 3.938 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003033/1.077, allocations: 97.42 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/1.077, allocations: 5.281 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/1.077, allocations: 0 / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/1.077, allocations: 2.688 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/1.078, allocations: 15.02 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/1.078, allocations: 2.719 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.627e-05/1.078, allocations: 13.03 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/1.078, allocations: 0 / 1.326 GB, free: 21.97 MB / 1.061 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 4.881e-05/1.078, allocations: 124 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/1.078, allocations: 10.89 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.335e-05/1.078, allocations: 3.906 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/1.078, allocations: 0 / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.078, allocations: 2.906 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/1.078, allocations: 0 / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/1.078, allocations: 173.2 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.078, allocations: 2.844 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.241e-05/1.078, allocations: 15.88 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/1.078, allocations: 3.938 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/1.078, allocations: 2.625 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.078, allocations: 3.234 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/1.078, allocations: 0 / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/1.078, allocations: 198.8 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/1.078, allocations: 87.44 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/1.078, allocations: 3.375 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/1.078, allocations: 11.41 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/1.078, allocations: 9.906 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/1.078, allocations: 0 / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.837e-05/1.078, allocations: 84.75 kB / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.078, allocations: 0 / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000213/1.079, allocations: 7.688 kB / 1.327 GB, free: 21.28 MB / 1.061 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.0001225/1.079, allocations: 105.1 kB / 1.327 GB, free: 21.19 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003302/1.079, allocations: 65.3 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/1.079, allocations: 0 / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/1.079, allocations: 42.75 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/1.08, allocations: 17.47 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/1.08, allocations: 153.5 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/1.08, allocations: 0.6848 MB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/1.08, allocations: 10.31 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.08, allocations: 0 / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of Templates: time 0.002199/1.082, allocations: 0.7584 MB / 1.328 GB, free: 20.27 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 12.182376231008675]