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.001646/0.001646, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001845/0.001845, allocations: 193.2 kB / 17.31 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.495/1.495, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.501/2.501, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 64.16 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3702, 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.002787/0.373, allocations: 1.521 MB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002313/0.3732, allocations: 155.5 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.3733, allocations: 0 / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.3733, allocations: 0 / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.387e-05/0.3734, allocations: 11.86 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 8.081e-05/0.3735, allocations: 11.98 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.034e-05/0.3736, allocations: 43.84 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.3737, allocations: 19.98 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.237e-05/0.3738, allocations: 15.92 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.615e-05/0.3738, allocations: 23.92 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.3738, allocations: 4 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-06/0.3739, allocations: 4 kB / 1.029 GB, free: 228 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.3739, allocations: 11.92 kB / 1.029 GB, free: 216 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.3739, allocations: 11.94 kB / 1.029 GB, free: 204 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.422e-05/0.374, allocations: 35.88 kB / 1.029 GB, free: 168 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.374, allocations: 0 / 1.029 GB, free: 168 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.543e-06/0.374, allocations: 0 / 1.029 GB, free: 168 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.374, allocations: 4 kB / 1.029 GB, free: 164 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.0005313/0.3746, allocations: 367.4 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.3746, allocations: 8.031 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.3747, allocations: 8.844 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.3748, allocations: 172.2 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3748, allocations: 4.375 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.3748, allocations: 384 / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.375, allocations: 74.2 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3751, allocations: 192 / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3751, allocations: 3.938 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3751, allocations: 4 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002435/0.3753, allocations: 59.92 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.3757, allocations: 276.8 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.3759, allocations: 58.48 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.376, allocations: 36.91 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.3761, allocations: 0 / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.3761, allocations: 38.56 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.204e-06/0.3761, allocations: 3.984 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004756/0.3766, allocations: 125.5 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.3766, allocations: 51.41 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.84e-05/0.3767, allocations: 113.8 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.3767, allocations: 33.64 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.009e-05/0.3768, allocations: 84.12 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.3768, allocations: 15.75 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.3769, allocations: 13.72 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.377, allocations: 318.8 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.3771, allocations: 31.97 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.3772, allocations: 31.97 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.3774, allocations: 68.78 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.3775, allocations: 3.938 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000277/0.3777, allocations: 101.6 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3778, allocations: 4 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3778, allocations: 0 / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3778, allocations: 3.984 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.3779, allocations: 15.98 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3779, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.065e-05/0.378, allocations: 11.98 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.378, allocations: 4 kB / 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 7.322e-05/0.3781, allocations: 117.7 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.3781, allocations: 7.906 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.466e-05/0.3781, allocations: 15.83 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3782, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3782, allocations: 4 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3782, allocations: 0 / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.3783, allocations: 165.6 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3783, allocations: 4 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.94e-05/0.3784, allocations: 19.98 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3784, allocations: 0 / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3785, allocations: 7.984 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3785, allocations: 0 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3785, allocations: 3.938 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.3788, allocations: 191.4 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.3788, allocations: 81.02 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.3788, allocations: 4 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.715e-05/0.3789, allocations: 15.97 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.379, allocations: 4 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.379, allocations: 0 / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.173e-05/0.379, allocations: 87.27 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3791, allocations: 0 / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002062/0.3793, 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.0001225/0.3794, allocations: 103.2 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003061/0.3797, allocations: 68.23 kB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3797, allocations: 4 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.3799, allocations: 43.91 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.3802, allocations: 11.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.0003348/0.3805, allocations: 138.8 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.3808, allocations: 0.6807 MB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.362e-05/0.3808, allocations: 7.984 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.894e-05/0.3808, allocations: 11.44 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of SimCode: time 1.673e-06/0.3808, allocations: 0 / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of Templates: time 0.002856/0.3837, allocations: 0.7917 MB / 1.033 GB, free: 11.1 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 gbode -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