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.002202/0.002202, allocations: 110.3 kB / 16.41 MB, free: 6.512 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.002005/0.002005, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.54/1.54, allocations: 222.9 MB / 241 MB, free: 15.15 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.713/2.713, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.89 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 151.6 MB / 1.167 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002868/1.055, allocations: 1.513 MB / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003067/1.055, allocations: 151.5 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.851e-05/1.055, allocations: 4 kB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.288e-05/1.055, allocations: 3.938 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.108e-05/1.055, allocations: 7.875 kB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 8.902e-05/1.055, allocations: 15.97 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/1.055, allocations: 47.8 kB / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/1.055, allocations: 15.97 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.586e-05/1.056, allocations: 15.98 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.571e-05/1.056, allocations: 19.92 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/1.056, allocations: 4 kB / 1.169 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.889e-06/1.056, allocations: 7.938 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/1.056, allocations: 7.984 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/1.056, allocations: 19.94 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/1.056, allocations: 39.62 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/1.056, allocations: 0 / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.013e-06/1.056, allocations: 0 / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.249e-06/1.056, allocations: 0 / 1.169 GB, free: 1.922 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.0005965/1.056, allocations: 368 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/1.057, allocations: 12.03 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/1.057, allocations: 4.891 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/1.057, allocations: 168.4 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/1.057, allocations: 4.375 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/1.057, allocations: 8.312 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/1.057, allocations: 70.2 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/1.057, allocations: 4.188 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/1.057, allocations: 3.938 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/1.057, allocations: 0 / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/1.057, allocations: 63.92 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/1.058, allocations: 268.8 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/1.058, allocations: 66.41 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/1.058, allocations: 40.91 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-06/1.058, allocations: 0 / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/1.058, allocations: 38.56 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/1.058, allocations: 4 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0004963/1.059, allocations: 121.7 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/1.059, allocations: 59.34 kB / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.695e-05/1.059, allocations: 109.8 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/1.059, allocations: 25.7 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/1.059, allocations: 100.1 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/1.059, allocations: 3.953 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/1.059, allocations: 17.72 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.059, allocations: 310.8 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/1.059, allocations: 31.95 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/1.059, allocations: 40 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/1.06, allocations: 64.78 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.06, allocations: 7.875 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003122/1.06, allocations: 101.6 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/1.06, allocations: 8 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/1.06, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/1.06, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/1.06, allocations: 19.97 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/1.06, allocations: 4 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.64e-05/1.06, allocations: 11.94 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/1.06, allocations: 4 kB / 1.171 GB, free: 15.58 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 9.554e-05/1.06, allocations: 113.8 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/1.06, allocations: 4 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/1.06, allocations: 7.906 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/1.061, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.061, allocations: 3.984 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/1.061, allocations: 0 / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/1.061, allocations: 169.6 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.061, allocations: 0 / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.39e-05/1.061, allocations: 15.98 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.061, allocations: 0 / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/1.061, allocations: 4 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.061, allocations: 0 / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/1.061, allocations: 3.984 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/1.061, allocations: 203.3 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/1.061, allocations: 81.05 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/1.061, allocations: 4 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/1.061, allocations: 15.92 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/1.061, allocations: 3.984 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/1.061, allocations: 0 / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.695e-05/1.062, allocations: 91.27 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.062, allocations: 0 / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002146/1.062, allocations: 8 kB / 1.172 GB, free: 14.76 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.0001317/1.062, allocations: 107.2 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003503/1.062, allocations: 67.86 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/1.062, allocations: 0 / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/1.062, allocations: 31.97 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/1.063, allocations: 30.09 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/1.063, allocations: 138.5 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/1.063, allocations: 0.6768 MB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.71e-05/1.063, allocations: 8.359 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/1.064, allocations: 11.44 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/1.064, allocations: 0 / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of Templates: time 0.003327/1.067, allocations: 0.8013 MB / 1.174 GB, free: 12.85 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 -s cvode -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