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.001876/0.001876, allocations: 81.48 kB / 19.44 MB, free: 348 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.002139/0.002139, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.615/1.615, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.418/3.418, allocations: 429.5 MB / 0.6729 GB, free: 4.016 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.473e-06/1.473e-06, allocations: 0 / 0.8775 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.862e-05, allocations: 5.594 kB / 0.8775 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003552/0.003581, allocations: 1.539 MB / 0.879 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003542/0.003935, allocations: 156.3 kB / 0.8791 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.003974, allocations: 0 / 0.8791 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.004003, allocations: 4.703 kB / 0.8791 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.505e-05/0.004068, allocations: 14.73 kB / 0.8792 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.982e-05/0.004158, allocations: 11.98 kB / 0.8792 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.004263, allocations: 51.78 kB / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.004359, allocations: 0 / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.004467, allocations: 32.94 kB / 0.8792 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/0.004518, allocations: 19.91 kB / 0.8793 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.00454, allocations: 4 kB / 0.8793 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.004554, allocations: 5.125 kB / 0.8793 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.004575, allocations: 7.984 kB / 0.8793 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.004611, allocations: 11.94 kB / 0.8793 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.004718, allocations: 41.53 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.004721, allocations: 0 / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004721, allocations: 0 / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.004726, allocations: 0 / 0.8793 GB, free: 4.746 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.000639/0.005365, allocations: 382.4 kB / 0.8797 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.005405, allocations: 12.03 kB / 0.8797 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.005446, allocations: 0.9375 kB / 0.8797 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.005585, allocations: 124.5 kB / 0.8798 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.005601, allocations: 4.375 kB / 0.8798 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.005611, allocations: 2.625 kB / 0.8798 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.005819, allocations: 58.23 kB / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.005827, allocations: 192 / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.005837, allocations: 384 / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.005841, allocations: 384 / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.006025, allocations: 44.62 kB / 0.8799 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.006473, allocations: 281.3 kB / 0.8802 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.006638, allocations: 51.05 kB / 0.8802 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.006745, allocations: 33.05 kB / 0.8803 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.006774, allocations: 4 kB / 0.8803 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.006812, allocations: 37.39 kB / 0.8803 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.006813, allocations: 0 / 0.8803 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.000414/0.007227, allocations: 101.5 kB / 0.8804 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.007277, allocations: 55.41 kB / 0.8805 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.00744, allocations: 173.9 kB / 0.8806 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.007462, allocations: 25.7 kB / 0.8807 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.706e-05/0.007559, allocations: 130.9 kB / 0.8808 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.007588, allocations: 15.91 kB / 0.8808 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.007635, allocations: 15.38 kB / 0.8808 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002991/0.007934, allocations: 0.4923 MB / 0.8813 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.866e-05/0.008033, allocations: 23.98 kB / 0.8813 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.811e-05/0.008111, allocations: 15.98 kB / 0.8813 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.008285, allocations: 51.92 kB / 0.8814 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.008286, allocations: 0 / 0.8814 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002288/0.008515, allocations: 77.61 kB / 0.8815 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.008535, allocations: 11.92 kB / 0.8815 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.00854, allocations: 0 / 0.8815 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.008554, allocations: 4 kB / 0.8815 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.28e-05/0.008647, allocations: 8 kB / 0.8815 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.008664, allocations: 4 kB / 0.8815 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.355e-05/0.008718, allocations: 7.984 kB / 0.8815 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.008724, allocations: 0 / 0.8815 GB, free: 2.332 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.0001279/0.008852, allocations: 156.6 kB / 0.8816 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.008879, allocations: 7.953 kB / 0.8816 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.008914, allocations: 11.94 kB / 0.8817 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.008918, allocations: 4 kB / 0.8817 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.008924, allocations: 4 kB / 0.8817 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.008927, allocations: 4 kB / 0.8817 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.009106, allocations: 120.6 kB / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.009109, allocations: 3.984 kB / 0.8818 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.623e-05/0.009175, allocations: 8 kB / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.009177, allocations: 0 / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.009188, allocations: 4 kB / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.009191, allocations: 3.938 kB / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.009192, allocations: 7.875 kB / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.009513, allocations: 223.9 kB / 0.882 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.009524, allocations: 7.953 kB / 0.882 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.009537, allocations: 0 / 0.882 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.04e-05/0.009627, allocations: 11.92 kB / 0.882 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.009674, allocations: 8 kB / 0.8821 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.009677, allocations: 0 / 0.8821 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.278e-05/0.00977, allocations: 135.2 kB / 0.8822 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.00977, allocations: 0 / 0.8822 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000213/0.009983, allocations: 8 kB / 0.8822 GB, free: 1.551 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.0001305/0.01011, allocations: 95.19 kB / 0.8823 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002581/0.01037, allocations: 63.58 kB / 0.8823 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01037, allocations: 0 / 0.8823 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.01048, allocations: 31.67 kB / 0.8824 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.01077, allocations: 11.98 kB / 0.8824 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.01114, allocations: 137.3 kB / 0.8825 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.079e-05/0.01122, allocations: 75.2 kB / 0.8826 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.363e-05/0.01125, allocations: 288 / 0.8826 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.01129, allocations: 12.44 kB / 0.8826 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/0.01129, allocations: 0 / 0.8826 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of Templates: time 0.003901/0.01519, allocations: 0.8816 MB / 0.8835 GB, free: 208 kB / 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) [Timeout 240] 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.807186321006157]