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.001142/0.001142, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 182.5 kB / 16.92 MB, free: 6.922 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.431/1.431, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.848/2.848, allocations: 462.7 MB / 0.7371 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004859, allocations: 8.031 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3692, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.00204/0.3713, allocations: 1.233 MB / 1.061 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000291/0.3717, allocations: 143.6 kB / 1.061 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.3717, allocations: 0 / 1.061 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.3718, allocations: 11.92 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.481e-05/0.3719, allocations: 11.92 kB / 1.061 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.254e-05/0.3719, allocations: 11.98 kB / 1.061 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.122e-05/0.372, allocations: 39.8 kB / 1.061 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3722, allocations: 12 kB / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.476e-05/0.3723, allocations: 15.92 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/0.3723, allocations: 23.91 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3724, allocations: 0 / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.3724, allocations: 8 kB / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.3724, allocations: 0 / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.344e-05/0.3725, allocations: 45.56 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.403e-05/0.3725, allocations: 32.22 kB / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3726, allocations: 3.938 kB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3726, allocations: 0 / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.3726, allocations: 0 / 1.061 GB, free: 3.344 MB / 0.8106 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.0005851/0.3732, allocations: 371.3 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3732, allocations: 11.97 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.3733, allocations: 4.938 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.3734, allocations: 172.2 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.3734, allocations: 8.375 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.3735, allocations: 4.312 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.3737, allocations: 86.2 kB / 1.062 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3738, allocations: 192 / 1.062 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.3738, allocations: 3.938 kB / 1.062 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3738, allocations: 0 / 1.062 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.3741, allocations: 87.92 kB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.3746, allocations: 269 kB / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.3748, allocations: 70.41 kB / 1.062 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.375, allocations: 52.92 kB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.375, allocations: 0 / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.3751, allocations: 30.56 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.3751, allocations: 0 / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006194/0.3757, allocations: 165.5 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.3757, allocations: 59.34 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.745e-05/0.3758, allocations: 110.1 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.3759, allocations: 25.7 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.3759, allocations: 88.14 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.376, allocations: 7.844 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.376, allocations: 9.719 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3761, allocations: 322.8 kB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.3763, allocations: 43.91 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.3765, allocations: 47.95 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.3768, allocations: 88.8 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.3768, allocations: 3.938 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003634/0.3772, allocations: 129.5 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3772, allocations: 5.562 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3772, allocations: 0 / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3772, allocations: 0 / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.3774, allocations: 23.98 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.3774, allocations: 4.062 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.915e-05/0.3775, allocations: 15.98 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.3775, allocations: 0 / 1.063 GB, free: 0.8438 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.509e-05/0.3776, allocations: 117.8 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.3776, allocations: 3.984 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.3776, allocations: 11.84 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3777, allocations: 4 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3777, allocations: 0 / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3777, allocations: 0 / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.3779, allocations: 169.6 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3779, allocations: 0 / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.378, allocations: 23.97 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.378, allocations: 336 / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.378, allocations: 4 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.378, allocations: 0 / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.378, allocations: 0 / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.3784, allocations: 227.2 kB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.3785, allocations: 81.11 kB / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.3785, allocations: 3.984 kB / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.3786, allocations: 23.98 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.3787, allocations: 4 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.3787, allocations: 0 / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.556e-05/0.3788, allocations: 91.34 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3788, allocations: 0 / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002207/0.379, allocations: 8 kB / 1.064 GB, free: 15.98 MB / 0.8262 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.0001268/0.3791, allocations: 95.25 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003827/0.3795, allocations: 91.92 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3795, allocations: 11.88 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.3797, allocations: 43.95 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.38, allocations: 15.94 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.3804, allocations: 178.2 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.3807, allocations: 0.6809 MB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.3808, allocations: 7.438 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.3808, allocations: 0 / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of Templates: time 0.00222/0.383, allocations: 0.7517 MB / 1.066 GB, free: 14.06 MB / 0.8262 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 -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