Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004703/0.004707, allocations: 101.7 kB / 15.88 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 194.2 kB / 16.79 MB, free: 6.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.65/2.65, allocations: 437 MB / 0.7106 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 67.89 kB / 0.8692 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9516/0.9532, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.006506/0.9598, allocations: 1.57 MB / 1.019 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004501/0.9603, allocations: 155.5 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.628e-05/0.9604, allocations: 0 / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.283e-05/0.9604, allocations: 0 / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.9606, allocations: 7.922 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.9608, allocations: 15.92 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.9609, allocations: 39.91 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.9611, allocations: 16 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.9613, allocations: 19.86 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.842e-05/0.9614, allocations: 19.92 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.9614, allocations: 0 / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.416e-05/0.9615, allocations: 4 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.9615, allocations: 3.984 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.9616, allocations: 19.88 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.9617, allocations: 25.92 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.9617, allocations: 0 / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9617, allocations: 0 / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.9617, allocations: 3.938 kB / 1.019 GB, free: 0.8828 MB / 0.7637 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.001103/0.9628, allocations: 375.3 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 9.8e-05/0.9629, allocations: 8.031 kB / 1.02 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.445e-05/0.963, allocations: 0.9375 kB / 1.02 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.9633, allocations: 176.2 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.9633, allocations: 4.375 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.9633, allocations: 4.375 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.9638, allocations: 70.22 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.9638, allocations: 4.172 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.9639, allocations: 7.875 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.9639, allocations: 0 / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005034/0.9644, allocations: 63.92 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006877/0.9651, allocations: 268.9 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.9655, allocations: 58.47 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.9657, allocations: 40.92 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.9658, allocations: 3.938 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.9658, allocations: 38.56 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 2.766e-06/0.9659, allocations: 4 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0008988/0.9668, allocations: 125.6 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.9669, allocations: 55.41 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.967, allocations: 105.8 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.9671, allocations: 29.64 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.9671, allocations: 88.14 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.9672, allocations: 11.8 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.9673, allocations: 17.72 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.9674, allocations: 310.8 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.9677, allocations: 35.95 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.968, allocations: 35.91 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/0.9685, allocations: 68.78 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.9685, allocations: 7.938 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005879/0.9691, allocations: 97.62 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.9691, allocations: 6.188 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.9692, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.9692, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.9694, allocations: 19.98 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.9694, allocations: 3.984 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.9696, allocations: 11.98 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.9696, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 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.000129/0.9697, allocations: 114.2 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/0.9698, allocations: 7.906 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.074e-05/0.9699, allocations: 7.906 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.9699, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9699, allocations: 3.938 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.9699, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.9702, allocations: 173.6 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.9702, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.9704, allocations: 19.98 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.9704, allocations: 0 / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.9705, allocations: 0 / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.9705, allocations: 0 / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.9705, allocations: 4 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006395/0.9711, allocations: 203.7 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.045e-05/0.9712, allocations: 84.95 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.9713, allocations: 3.938 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.9715, allocations: 11.98 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.9716, allocations: 3.984 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.9716, allocations: 4 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.859e-05/0.9717, allocations: 87.22 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9717, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004052/0.9721, allocations: 12 kB / 1.022 GB, free: 13.71 MB / 0.7794 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.0001957/0.9723, allocations: 107.2 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005903/0.9729, allocations: 63.92 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.973, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.9733, allocations: 43.91 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.9738, allocations: 11.92 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005462/0.9744, allocations: 162.1 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.9748, allocations: 0.6887 MB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.9749, allocations: 7.438 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.9749, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of Templates: time 0.003438/0.9784, allocations: 0.7477 MB / 1.024 GB, free: 11.82 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches