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.008432/0.008432, allocations: 101.1 kB / 15.73 MB, free: 6.066 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.001709/0.001709, allocations: 196.6 kB / 16.68 MB, free: 5.973 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.49/1.49, allocations: 222.9 MB / 240.4 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.57/2.57, allocations: 437 MB / 0.7105 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 64.12 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.053, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002679/1.056, allocations: 1.516 MB / 1.168 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000255/1.056, allocations: 147.5 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/1.056, allocations: 0 / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/1.056, allocations: 11.88 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.479e-05/1.056, allocations: 7.938 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 8.326e-05/1.056, allocations: 11.97 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.643e-05/1.056, allocations: 47.8 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/1.056, allocations: 11.98 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.003e-05/1.057, allocations: 15.98 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.24e-05/1.057, allocations: 27.84 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/1.057, allocations: 4 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/1.057, allocations: 11.94 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/1.057, allocations: 7.984 kB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/1.057, allocations: 15.88 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/1.057, allocations: 39.69 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.057, allocations: 0 / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.384e-06/1.057, allocations: 0 / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.761e-06/1.057, allocations: 0 / 1.168 GB, free: 1.961 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.0005254/1.057, allocations: 368 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/1.057, allocations: 16.03 kB / 1.169 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/1.057, allocations: 8.891 kB / 1.169 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/1.058, allocations: 164.4 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/1.058, allocations: 384 / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/1.058, allocations: 384 / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/1.058, allocations: 74.2 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/1.058, allocations: 192 / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/1.058, allocations: 3.938 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/1.058, allocations: 7.938 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/1.058, allocations: 63.92 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/1.059, allocations: 276.8 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/1.059, allocations: 58.48 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/1.059, allocations: 40.91 kB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/1.059, allocations: 0 / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/1.059, allocations: 34.5 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/1.059, allocations: 0 / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005131/1.059, allocations: 125.6 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/1.06, allocations: 51.41 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.964e-05/1.06, allocations: 113.8 kB / 1.17 GB, free: 404 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/1.06, allocations: 25.7 kB / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/1.06, allocations: 88.08 kB / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/1.06, allocations: 11.95 kB / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/1.06, allocations: 21.66 kB / 1.17 GB, free: 240 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.06, allocations: 314.8 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/1.06, allocations: 31.95 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/1.06, allocations: 39.84 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/1.06, allocations: 73.05 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.06, allocations: 3.938 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002948/1.061, allocations: 93.62 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.061, allocations: 8 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/1.061, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.061, allocations: 4 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/1.061, allocations: 15.97 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/1.061, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.769e-05/1.061, allocations: 15.94 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/1.061, allocations: 0 / 1.171 GB, free: 15.63 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.857e-05/1.061, allocations: 121.7 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/1.061, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/1.061, allocations: 19.89 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/1.061, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/1.061, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/1.061, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/1.061, allocations: 165.6 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.061, allocations: 0 / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.551e-05/1.061, allocations: 15.98 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.061, allocations: 0 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/1.061, allocations: 8 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.061, allocations: 3.984 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/1.062, allocations: 4 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/1.062, allocations: 191.4 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/1.062, allocations: 85.05 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/1.062, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/1.062, allocations: 23.92 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/1.062, allocations: 3.984 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/1.062, allocations: 0 / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.34e-05/1.062, allocations: 91.58 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.062, allocations: 0 / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002132/1.062, allocations: 8 kB / 1.171 GB, free: 14.8 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.0001307/1.062, allocations: 101.8 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000327/1.063, allocations: 71.92 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.063, allocations: 0 / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/1.063, allocations: 39.91 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/1.063, allocations: 20.14 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/1.064, allocations: 142.5 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/1.064, allocations: 0.6807 MB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.975e-05/1.064, allocations: 0 / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/1.064, allocations: 7.438 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/1.064, allocations: 4 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of Templates: time 0.002824/1.067, allocations: 0.7993 MB / 1.173 GB, free: 12.89 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/jenkins/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