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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001498/0.001498, allocations: 103.9 kB / 16.4 MB, free: 6.469 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.001542/0.001542, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.521/2.521, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 64.31 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072/1.073, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002963/1.076, allocations: 1.509 MB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002681/1.076, allocations: 147.5 kB / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/1.077, allocations: 4 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/1.077, allocations: 7.922 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.89e-05/1.077, allocations: 3.938 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 9.132e-05/1.077, allocations: 11.98 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.545e-05/1.077, allocations: 51.78 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/1.077, allocations: 12 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.821e-05/1.077, allocations: 23.91 kB / 1.169 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.38e-05/1.077, allocations: 23.86 kB / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/1.077, allocations: 4 kB / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.647e-06/1.077, allocations: 4 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/1.077, allocations: 11.98 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/1.077, allocations: 11.94 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.07e-05/1.077, allocations: 51.41 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/1.077, allocations: 0 / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.453e-06/1.077, allocations: 0 / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.737e-06/1.077, allocations: 0 / 1.169 GB, free: 1.949 MB / 0.8887 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.0005633/1.078, allocations: 361.4 kB / 1.169 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.078, allocations: 12.03 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/1.078, allocations: 4.844 kB / 1.17 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/1.078, allocations: 176.3 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/1.078, allocations: 384 / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/1.078, allocations: 4.375 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/1.078, allocations: 70.22 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/1.078, allocations: 4.125 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/1.078, allocations: 3.938 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/1.078, allocations: 0 / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/1.079, allocations: 67.92 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/1.079, allocations: 272.9 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/1.079, allocations: 54.48 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/1.079, allocations: 44.84 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/1.079, allocations: 0 / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/1.079, allocations: 34.56 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/1.079, allocations: 0 / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0004894/1.08, allocations: 125.6 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/1.08, allocations: 55.41 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.3e-05/1.08, allocations: 113.8 kB / 1.17 GB, free: 392 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/1.08, allocations: 29.7 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/1.08, allocations: 88.05 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/1.08, allocations: 7.906 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/1.08, allocations: 13.72 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.08, allocations: 318.8 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/1.08, allocations: 31.91 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/1.081, allocations: 39.89 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/1.081, allocations: 65.08 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.081, allocations: 3.938 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002974/1.081, allocations: 105.6 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.081, allocations: 8 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/1.081, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/1.081, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/1.081, allocations: 11.98 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/1.081, allocations: 4 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.387e-05/1.081, allocations: 11.92 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/1.081, allocations: 4 kB / 1.171 GB, free: 15.62 MB / 0.9044 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.554e-05/1.082, allocations: 121.7 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/1.082, allocations: 11.89 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/1.082, allocations: 3.906 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/1.082, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.082, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/1.082, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/1.082, allocations: 173.5 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.082, allocations: 0 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/1.082, allocations: 19.97 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.082, allocations: 4 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/1.082, allocations: 0 / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/1.082, allocations: 0 / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.082, allocations: 0 / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/1.082, allocations: 199.4 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/1.082, allocations: 85.02 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/1.082, allocations: 3.984 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/1.082, allocations: 11.98 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/1.083, allocations: 4 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/1.083, allocations: 8 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.905e-05/1.083, allocations: 87.27 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/1.083, allocations: 0 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002076/1.083, allocations: 8 kB / 1.172 GB, free: 14.79 MB / 0.9044 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.0001342/1.083, allocations: 103.2 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003049/1.083, allocations: 63.92 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.083, allocations: 0 / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/1.083, allocations: 43.83 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/1.084, allocations: 19.94 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/1.084, allocations: 164.2 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/1.084, allocations: 0.6807 MB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/1.084, allocations: 7.438 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/1.084, allocations: 0 / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of Templates: time 0.001981/1.086, allocations: 0.7591 MB / 1.174 GB, free: 12.9 MB / 0.9044 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