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.001469/0.001469, allocations: 104.6 kB / 16.45 MB, free: 6.449 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.001466/0.001466, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.585/1.585, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.29/3.29, allocations: 0.4899 GB / 0.7915 GB, free: 33.47 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.002108/0.002108, allocations: 71.03 kB / 1.149 GB, free: 26.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4023, allocations: 176.1 MB / 1.321 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002765/0.4051, allocations: 1.521 MB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002738/0.4053, allocations: 155.5 kB / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.4054, allocations: 0 / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.4054, allocations: 3.938 kB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.783e-05/0.4055, allocations: 19.91 kB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.404e-05/0.4055, allocations: 15.92 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.771e-05/0.4056, allocations: 39.92 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.4057, allocations: 15.92 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.312e-05/0.4058, allocations: 19.86 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.982e-05/0.4058, allocations: 19.92 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.4059, allocations: 4 kB / 1.323 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.958e-06/0.4059, allocations: 4 kB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.4059, allocations: 7.984 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.4059, allocations: 23.86 kB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.218e-05/0.406, allocations: 31.89 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.406, allocations: 8 kB / 1.323 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.453e-06/0.406, allocations: 0 / 1.323 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.406, allocations: 0 / 1.323 GB, free: 0.9453 MB / 1.014 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.0005821/0.4066, allocations: 367.2 kB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.4067, allocations: 11.98 kB / 1.323 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.4067, allocations: 4.938 kB / 1.323 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.4068, allocations: 164.3 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.4068, allocations: 12.38 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.4069, allocations: 4.312 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.4071, allocations: 78.14 kB / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.4071, allocations: 192 / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4071, allocations: 7.938 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.4071, allocations: 3.938 kB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.4074, allocations: 67.92 kB / 1.324 GB, free: 148 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.4078, allocations: 260.9 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.4081, allocations: 62.42 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.4082, allocations: 40.91 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.4082, allocations: 0 / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.4083, allocations: 30.56 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.4083, allocations: 4 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005686/0.4088, allocations: 133.8 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.4089, allocations: 51.41 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.82e-05/0.409, allocations: 105.8 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.409, allocations: 25.7 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.409, allocations: 92.12 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.4091, allocations: 15.83 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.4091, allocations: 21.66 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4092, allocations: 314.8 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.4094, allocations: 31.97 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.4095, allocations: 31.97 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.4098, allocations: 68.78 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.4098, allocations: 7.938 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003414/0.4102, allocations: 93.62 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.4102, allocations: 4 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.4102, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.4102, allocations: 3.984 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.4103, allocations: 19.92 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.4104, allocations: 4 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.648e-05/0.4104, allocations: 15.98 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.4104, allocations: 0 / 1.325 GB, free: 14.6 MB / 1.029 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 8.03e-05/0.4105, allocations: 109.8 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.4106, allocations: 7.953 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.4106, allocations: 11.89 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.4106, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.4106, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.4106, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.4108, allocations: 173.6 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4108, allocations: 0 / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.4109, allocations: 19.92 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.4109, allocations: 0 / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.4109, allocations: 3.938 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4109, allocations: 3.984 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4109, allocations: 4 kB / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.4113, allocations: 199.4 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.4113, allocations: 81.06 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.4114, allocations: 4 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.4115, allocations: 15.97 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.4115, allocations: 0 / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.4115, allocations: 4 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.242e-05/0.4116, allocations: 91.27 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4116, allocations: 0 / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002256/0.4118, allocations: 8 kB / 1.326 GB, free: 13.77 MB / 1.029 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.0001326/0.4119, allocations: 99.25 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000358/0.4123, allocations: 67.92 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4123, allocations: 4 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.4125, allocations: 35.91 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.4128, allocations: 18.42 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.4131, allocations: 142.5 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.4134, allocations: 0.6807 MB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.4135, allocations: 8.359 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.4135, allocations: 7.438 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of SimCode: time 2.51e-07/0.4135, allocations: 0 / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of Templates: time 0.003263/0.4167, allocations: 0.809 MB / 1.328 GB, free: 11.86 MB / 1.029 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: 9.457426042761654]