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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001649/0.001649, allocations: 117.8 kB / 16.37 MB, free: 6.016 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.001587/0.001587, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.489/2.489, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.00155, allocations: 64.28 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3506, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002766/0.3534, allocations: 1.509 MB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002376/0.3537, allocations: 147.5 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.729e-05/0.3537, allocations: 0 / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.3538, allocations: 3.938 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.766e-05/0.3538, allocations: 11.88 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.971e-05/0.3539, allocations: 19.97 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.434e-05/0.354, allocations: 43.86 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3541, allocations: 15.92 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.312e-05/0.3542, allocations: 15.92 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.3543, allocations: 27.91 kB / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.3543, allocations: 4 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-06/0.3543, allocations: 4 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.3543, allocations: 11.92 kB / 1.029 GB, free: 228 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.3544, allocations: 11.94 kB / 1.029 GB, free: 216 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.424e-05/0.3545, allocations: 35.89 kB / 1.029 GB, free: 180 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3545, allocations: 4 kB / 1.029 GB, free: 176 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3545, allocations: 0 / 1.029 GB, free: 176 kB / 0.795 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.3545, allocations: 0 / 1.029 GB, free: 176 kB / 0.795 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.0005294/0.355, allocations: 364.6 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3551, allocations: 8.031 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.3551, allocations: 12.78 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.3552, allocations: 168.3 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3553, allocations: 4.375 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.3553, allocations: 4.359 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.3555, allocations: 74.14 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.3555, allocations: 4.188 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3555, allocations: 3.938 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3556, allocations: 0 / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/0.3558, allocations: 67.92 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.3562, allocations: 264.9 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.3564, allocations: 62.41 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.3565, allocations: 44.92 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.3565, allocations: 7.984 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.3566, allocations: 30.56 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3566, allocations: 0 / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004679/0.357, allocations: 125.6 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.3571, allocations: 55.34 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.3572, allocations: 113.8 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.3572, allocations: 25.7 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.3573, allocations: 88.12 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.3573, allocations: 15.75 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.3573, allocations: 13.72 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3575, allocations: 318.8 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.3576, allocations: 31.95 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.3577, allocations: 27.97 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.358, allocations: 72.78 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.358, allocations: 3.938 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002937/0.3583, allocations: 97.62 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3583, allocations: 11.88 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3584, allocations: 0 / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3584, allocations: 0 / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.3585, allocations: 19.97 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3585, allocations: 4 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.409e-05/0.3586, allocations: 11.98 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.3586, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 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 9.149e-05/0.3587, allocations: 121.7 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.3587, allocations: 7.844 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.3588, allocations: 3.906 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3588, allocations: 4 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.3588, allocations: 3.984 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3588, allocations: 4 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.359, allocations: 169.9 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.359, allocations: 0 / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.124e-05/0.3591, allocations: 11.98 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3591, allocations: 4 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.3591, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3591, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3591, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.3595, allocations: 207.3 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.3595, allocations: 81.02 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.3596, allocations: 4 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3597, allocations: 7.984 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.3597, allocations: 11.98 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.3597, allocations: 4 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.564e-05/0.3598, allocations: 87.28 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3598, allocations: 0 / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002249/0.36, allocations: 8 kB / 1.031 GB, free: 13.01 MB / 0.8106 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.000175/0.3602, allocations: 99.23 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003336/0.3605, allocations: 71.92 kB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3606, allocations: 3.938 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.3607, allocations: 31.97 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.361, allocations: 19.92 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.3614, allocations: 126.7 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.3617, allocations: 0.6924 MB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.341e-05/0.3617, allocations: 0 / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.3618, allocations: 11.44 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3618, allocations: 3.938 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of Templates: time 0.002967/0.3648, allocations: 0.794 MB / 1.033 GB, free: 11.11 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches