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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001033/0.001033, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006135/0.006135, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.473/1.473, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.988/2.988, allocations: 462.7 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003966, allocations: 22.48 kB / 0.9028 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3906, allocations: 159.6 MB / 1.059 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.001691/0.3923, allocations: 1.237 MB / 1.06 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002209/0.3926, allocations: 147.6 kB / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.3926, allocations: 0 / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.3926, allocations: 3.938 kB / 1.06 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.493e-05/0.3927, allocations: 7.938 kB / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.821e-05/0.3928, allocations: 7.984 kB / 1.06 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.624e-05/0.3928, allocations: 47.8 kB / 1.06 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3929, allocations: 19.97 kB / 1.06 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.719e-05/0.393, allocations: 15.92 kB / 1.06 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.3931, allocations: 19.92 kB / 1.06 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.3931, allocations: 0 / 1.06 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.3931, allocations: 4 kB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.3931, allocations: 3.984 kB / 1.06 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.315e-05/0.3932, allocations: 45.56 kB / 1.06 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.805e-05/0.3933, allocations: 32.17 kB / 1.06 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3933, allocations: 0 / 1.06 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.865e-06/0.3933, allocations: 3.984 kB / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3933, allocations: 4 kB / 1.06 GB, free: 3.824 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.0004868/0.3938, allocations: 367.3 kB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3938, allocations: 12.03 kB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.3939, allocations: 0.9375 kB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.394, allocations: 176.2 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.394, allocations: 8.375 kB / 1.061 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.394, allocations: 4.375 kB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.3943, allocations: 78.2 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.3943, allocations: 192 / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3943, allocations: 7.938 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3943, allocations: 8 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.3947, allocations: 87.86 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.395, allocations: 264.9 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.3953, allocations: 70.48 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.3954, allocations: 48.91 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.3954, allocations: 0 / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.3955, allocations: 34.56 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.3955, allocations: 0 / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005626/0.396, allocations: 169.4 kB / 1.062 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.3961, allocations: 51.41 kB / 1.062 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.2e-05/0.3962, allocations: 109.8 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.3962, allocations: 29.7 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.3962, allocations: 92.11 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.3963, allocations: 11.78 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.3963, allocations: 13.72 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3964, allocations: 314.8 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.3966, allocations: 47.95 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.3967, allocations: 39.97 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.397, allocations: 88.78 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.397, allocations: 3.938 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003533/0.3974, allocations: 125.5 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3974, allocations: 8 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.3974, allocations: 0 / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3974, allocations: 4 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.3976, allocations: 19.97 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3976, allocations: 0 / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.225e-05/0.3977, allocations: 15.98 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.3977, allocations: 8 kB / 1.062 GB, free: 1.324 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.702e-05/0.3978, allocations: 115.3 kB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.3978, allocations: 4 kB / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.3978, allocations: 7.906 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3978, allocations: 4.312 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3978, allocations: 0 / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3979, allocations: 0 / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.398, allocations: 173.6 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.398, allocations: 0 / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.3981, allocations: 23.98 kB / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.3981, allocations: 0 / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.3982, allocations: 0 / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3982, allocations: 4 kB / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3982, allocations: 3.984 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.3986, allocations: 223.3 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.3986, allocations: 85.11 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.3986, allocations: 3.938 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.3987, allocations: 15.98 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.3988, allocations: 7.984 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.3988, allocations: 4 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.557e-05/0.3989, allocations: 87.58 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.454e-06/0.3989, allocations: 0 / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002088/0.3991, allocations: 11.94 kB / 1.063 GB, free: 480 kB / 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.0001207/0.3992, allocations: 103.2 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.3996, allocations: 91.86 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3996, allocations: 0 / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.3997, allocations: 47.97 kB / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.4001, allocations: 16.16 kB / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.4004, allocations: 152.8 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.4007, allocations: 0.6809 MB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.396e-05/0.4007, allocations: 4 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.4007, allocations: 11.44 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.4007, allocations: 0 / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of Templates: time 0.00263/0.4034, allocations: 0.6571 MB / 1.065 GB, free: 14.66 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/jenkins/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