Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001675/0.001675, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.002146/0.002146, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.605/1.605, allocations: 177.2 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.445/3.445, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.541e-05/3.704e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003233/0.00327, allocations: 1.532 MB / 0.8791 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003392/0.003609, allocations: 146.9 kB / 0.8793 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.003651, allocations: 1.031 kB / 0.8793 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.003685, allocations: 4.156 kB / 0.8793 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.722e-05/0.003752, allocations: 20.92 kB / 0.8793 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.003852, allocations: 7.984 kB / 0.8793 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.003963, allocations: 47.84 kB / 0.8793 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.004068, allocations: 9.031 kB / 0.8794 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.004168, allocations: 27.91 kB / 0.8794 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.063e-05/0.004219, allocations: 17.08 kB / 0.8794 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.004238, allocations: 0 / 0.8794 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.225e-06/0.004246, allocations: 4 kB / 0.8794 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.004271, allocations: 16.69 kB / 0.8794 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.004309, allocations: 11.94 kB / 0.8794 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.004415, allocations: 37.5 kB / 0.8795 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.004418, allocations: 0 / 0.8795 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004418, allocations: 0 / 0.8795 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.004422, allocations: 0 / 0.8795 GB, free: 4.621 MB / 0.8386 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.000645/0.005067, allocations: 292.1 kB / 0.8797 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.005108, allocations: 11.97 kB / 0.8798 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.005154, allocations: 8.938 kB / 0.8798 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.005287, allocations: 113.7 kB / 0.8799 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.005301, allocations: 4.906 kB / 0.8799 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.005314, allocations: 5.125 kB / 0.8799 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.005584, allocations: 71.31 kB / 0.8799 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.005592, allocations: 192 / 0.8799 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.005602, allocations: 384 / 0.8799 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.005606, allocations: 1.031 kB / 0.8799 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.005906, allocations: 69.3 kB / 0.88 GB, free: 4 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.006302, allocations: 219.9 kB / 0.8802 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.006533, allocations: 58.47 kB / 0.8803 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.00669, allocations: 36.92 kB / 0.8803 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.006704, allocations: 0 / 0.8803 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.006739, allocations: 30.56 kB / 0.8803 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.00674, allocations: 1.156 kB / 0.8803 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0005862/0.007326, allocations: 134.6 kB / 0.8805 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.007392, allocations: 59.34 kB / 0.8805 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.007506, allocations: 109.8 kB / 0.8806 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.007528, allocations: 25.7 kB / 0.8807 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.007592, allocations: 88.14 kB / 0.8807 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.007615, allocations: 7.906 kB / 0.8808 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.007659, allocations: 17.7 kB / 0.8808 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.00784, allocations: 314.8 kB / 0.8811 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.008001, allocations: 31.97 kB / 0.8811 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.008143, allocations: 35.95 kB / 0.8811 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/0.008446, allocations: 68.78 kB / 0.8812 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.008448, allocations: 0 / 0.8812 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003491/0.008797, allocations: 101.6 kB / 0.8813 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.008814, allocations: 7.938 kB / 0.8813 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.008819, allocations: 0 / 0.8813 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.008837, allocations: 336 / 0.8813 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.008969, allocations: 15.98 kB / 0.8813 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.008974, allocations: 0 / 0.8813 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.702e-05/0.009061, allocations: 15.97 kB / 0.8813 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.009068, allocations: 0 / 0.8813 GB, free: 2.539 MB / 0.8386 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.0001019/0.00917, allocations: 121.8 kB / 0.8814 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.009199, allocations: 7.938 kB / 0.8815 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.00924, allocations: 15.94 kB / 0.8815 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.009242, allocations: 0 / 0.8815 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.009246, allocations: 0 / 0.8815 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.009249, allocations: 0 / 0.8815 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.009413, allocations: 109.3 kB / 0.8816 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.009414, allocations: 0 / 0.8816 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.009526, allocations: 19.97 kB / 0.8816 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.009528, allocations: 0 / 0.8816 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.009536, allocations: 4 kB / 0.8816 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.009542, allocations: 7.938 kB / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.009542, allocations: 0 / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/0.009967, allocations: 195.4 kB / 0.8818 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.008e-05/0.009977, allocations: 3.953 kB / 0.8818 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.00999, allocations: 0 / 0.8818 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.01012, allocations: 19.91 kB / 0.8818 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.01017, allocations: 8 kB / 0.8818 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.01018, allocations: 4 kB / 0.8818 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.674e-05/0.01025, allocations: 87.27 kB / 0.8819 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01025, allocations: 0 / 0.8819 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002287/0.01048, allocations: 8 kB / 0.8819 GB, free: 1.883 MB / 0.8386 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.0001364/0.01061, allocations: 99.19 kB / 0.882 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003626/0.01098, allocations: 71.86 kB / 0.8821 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01098, allocations: 0 / 0.8821 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.01115, allocations: 35.95 kB / 0.8821 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.01148, allocations: 12.55 kB / 0.8821 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.01187, allocations: 128.6 kB / 0.8823 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.112e-05/0.01195, allocations: 71.2 kB / 0.8823 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.471e-05/0.01199, allocations: 4 kB / 0.8823 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.01203, allocations: 12.5 kB / 0.8823 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/0.01203, allocations: 0 / 0.8823 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of Templates: time 0.003775/0.01581, allocations: 0.8916 MB / 0.8832 GB, free: 0.5312 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.961829202948138]