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.001831/0.001831, allocations: 81.06 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.002158/0.002158, allocations: 167.7 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.577/1.577, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.938/2.938, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] 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.864e-06/1.864e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.923e-05/4.11e-05, allocations: 8.891 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003345/0.003386, allocations: 1.511 MB / 0.9525 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003048/0.003691, allocations: 151.5 kB / 0.9526 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.813e-05/0.003739, allocations: 0 / 0.9526 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.003773, allocations: 3.938 kB / 0.9526 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.571e-05/0.003839, allocations: 11.86 kB / 0.9526 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.411e-05/0.003933, allocations: 11.98 kB / 0.9527 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.004036, allocations: 43.86 kB / 0.9527 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.004165, allocations: 11.92 kB / 0.9527 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.004273, allocations: 27.92 kB / 0.9527 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.004328, allocations: 19.97 kB / 0.9528 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.004351, allocations: 4 kB / 0.9528 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.004362, allocations: 4 kB / 0.9528 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.004387, allocations: 11.92 kB / 0.9528 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.004417, allocations: 8 kB / 0.9528 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.004535, allocations: 43.88 kB / 0.9528 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004537, allocations: 0 / 0.9528 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.11e-07/0.004537, allocations: 0 / 0.9528 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.004542, allocations: 0 / 0.9528 GB, free: 9.688 MB / 0.8575 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.0006323/0.005174, allocations: 298.1 kB / 0.9531 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.005225, allocations: 12.03 kB / 0.9531 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.00526, allocations: 0.9375 kB / 0.9531 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.005413, allocations: 113.7 kB / 0.9532 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.00543, allocations: 384 / 0.9532 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.005447, allocations: 8.312 kB / 0.9532 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.005729, allocations: 66.22 kB / 0.9533 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.005742, allocations: 192 / 0.9533 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.005753, allocations: 384 / 0.9533 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.005763, allocations: 4.375 kB / 0.9533 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003102/0.006073, allocations: 71.84 kB / 0.9534 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.006529, allocations: 212.5 kB / 0.9536 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.006771, allocations: 58.47 kB / 0.9536 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.006947, allocations: 44.91 kB / 0.9537 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.006964, allocations: 0 / 0.9537 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.006994, allocations: 30.56 kB / 0.9537 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.006995, allocations: 0 / 0.9537 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005734/0.007568, allocations: 129.5 kB / 0.9538 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.007623, allocations: 59.34 kB / 0.9539 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.007736, allocations: 109.8 kB / 0.954 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.007758, allocations: 25.7 kB / 0.954 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.007828, allocations: 92.12 kB / 0.9541 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.007854, allocations: 11.84 kB / 0.9541 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.007891, allocations: 13.72 kB / 0.9541 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.008025, allocations: 314.8 kB / 0.9544 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.008181, allocations: 35.95 kB / 0.9545 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.008324, allocations: 31.97 kB / 0.9545 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.008619, allocations: 68.78 kB / 0.9546 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.008621, allocations: 0 / 0.9546 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000331/0.008952, allocations: 97.62 kB / 0.9547 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.00897, allocations: 11.88 kB / 0.9547 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.008975, allocations: 3.938 kB / 0.9547 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.008992, allocations: 0 / 0.9547 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.009134, allocations: 19.97 kB / 0.9547 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.00914, allocations: 0 / 0.9547 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.436e-05/0.009224, allocations: 11.98 kB / 0.9547 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.009233, allocations: 320 / 0.9547 GB, free: 7.594 MB / 0.8575 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.0001076/0.00934, allocations: 117.8 kB / 0.9548 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.009366, allocations: 3.953 kB / 0.9548 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.542e-05/0.009401, allocations: 11.94 kB / 0.9548 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.009405, allocations: 4 kB / 0.9548 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.009412, allocations: 3.984 kB / 0.9548 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.009415, allocations: 0 / 0.9548 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.009577, allocations: 109.3 kB / 0.9549 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.009581, allocations: 4 kB / 0.9549 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.009682, allocations: 11.98 kB / 0.955 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.009684, allocations: 0 / 0.955 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.009693, allocations: 4 kB / 0.955 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.009697, allocations: 7.938 kB / 0.955 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.009697, allocations: 0 / 0.955 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004113/0.01011, allocations: 200.3 kB / 0.9552 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.01012, allocations: 4 kB / 0.9552 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.01013, allocations: 0 / 0.9552 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.01024, allocations: 15.86 kB / 0.9552 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.0103, allocations: 16.02 kB / 0.9552 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.0103, allocations: 0 / 0.9552 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.859e-05/0.01036, allocations: 91.27 kB / 0.9553 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01036, allocations: 0 / 0.9553 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002175/0.01058, allocations: 8 kB / 0.9553 GB, free: 6.934 MB / 0.8575 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.0001716/0.01075, allocations: 103.2 kB / 0.9554 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003637/0.01111, allocations: 67.92 kB / 0.9554 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01112, allocations: 3.938 kB / 0.9555 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.01128, allocations: 31.97 kB / 0.9555 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.01162, allocations: 10.22 kB / 0.9555 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.01202, allocations: 132.9 kB / 0.9556 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.626e-05/0.0121, allocations: 71.28 kB / 0.9557 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.01213, allocations: 0 / 0.9557 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.01218, allocations: 16.48 kB / 0.9557 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.01218, allocations: 0 / 0.9557 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of Templates: time 0.003935/0.01611, allocations: 0.8644 MB / 0.9565 GB, free: 5.598 MB / 0.8575 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.846030447632074]