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.009465/0.009465, allocations: 103.7 kB / 15.73 MB, free: 6.043 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.002026/0.002026, allocations: 189 kB / 16.67 MB, free: 5.961 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.733/2.733, allocations: 461.9 MB / 0.7347 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 72.33 kB / 1.054 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085/1.086, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003922/1.09, allocations: 1.505 MB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004041/1.091, allocations: 155.5 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/1.091, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/1.091, allocations: 3.938 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-05/1.091, allocations: 11.91 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/1.091, allocations: 15.98 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/1.091, allocations: 43.8 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/1.091, allocations: 15.98 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.93e-05/1.091, allocations: 15.98 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.244e-05/1.091, allocations: 19.92 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/1.091, allocations: 7.938 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.65e-05/1.091, allocations: 4 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/1.091, allocations: 7.984 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.823e-05/1.091, allocations: 15.94 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/1.092, allocations: 51.41 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.092, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.574e-06/1.092, allocations: 4 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.162e-05/1.092, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9356 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.000675/1.092, allocations: 361.4 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/1.092, allocations: 8.031 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/1.092, allocations: 8.844 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/1.093, allocations: 168.3 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/1.093, allocations: 8.375 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/1.093, allocations: 8.375 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/1.093, allocations: 70.2 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/1.093, allocations: 192 / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/1.093, allocations: 3.938 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/1.093, allocations: 4 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/1.094, allocations: 67.86 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/1.094, allocations: 264.9 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/1.094, allocations: 58.48 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/1.095, allocations: 36.91 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/1.095, allocations: 4 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/1.095, allocations: 38.56 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 4.218e-06/1.095, allocations: 0 / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0008083/1.095, allocations: 125.5 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/1.096, allocations: 55.41 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/1.096, allocations: 105.8 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/1.096, allocations: 25.7 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/1.096, allocations: 96.03 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/1.096, allocations: 3.906 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/1.096, allocations: 17.72 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.096, allocations: 314.8 kB / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/1.096, allocations: 35.97 kB / 1.211 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/1.097, allocations: 27.97 kB / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/1.097, allocations: 76.94 kB / 1.211 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.097, allocations: 3.938 kB / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005156/1.097, allocations: 101.6 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/1.098, allocations: 6.5 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.098, allocations: 3.984 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/1.098, allocations: 0 / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/1.098, allocations: 19.98 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/1.098, allocations: 0 / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/1.098, allocations: 15.98 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/1.098, allocations: 0 / 1.212 GB, free: 9.445 MB / 0.9356 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.913e-05/1.098, allocations: 109.8 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/1.098, allocations: 7.906 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/1.098, allocations: 11.89 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.098, allocations: 0 / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.098, allocations: 7.938 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.098, allocations: 0 / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/1.098, allocations: 177.5 kB / 1.212 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.098, allocations: 4 kB / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/1.099, allocations: 15.92 kB / 1.212 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/1.099, allocations: 0 / 1.212 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/1.099, allocations: 3.984 kB / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/1.099, allocations: 8 kB / 1.212 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.099, allocations: 0 / 1.212 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/1.099, allocations: 195.4 kB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/1.099, allocations: 81.02 kB / 1.212 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/1.099, allocations: 0 / 1.212 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/1.1, allocations: 15.97 kB / 1.212 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/1.1, allocations: 4 kB / 1.212 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/1.1, allocations: 4 kB / 1.212 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.161e-05/1.1, allocations: 83.27 kB / 1.212 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.9e-07/1.1, allocations: 7.938 kB / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003996/1.1, allocations: 12 kB / 1.212 GB, free: 8.605 MB / 0.9356 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.0001513/1.1, allocations: 99.25 kB / 1.212 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004979/1.101, allocations: 63.92 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.101, allocations: 0 / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002355/1.101, allocations: 39.97 kB / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/1.102, allocations: 20.41 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/1.102, allocations: 138.4 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/1.102, allocations: 0.6807 MB / 1.213 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.153e-05/1.102, allocations: 4 kB / 1.213 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/1.102, allocations: 7.438 kB / 1.213 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/1.102, allocations: 4 kB / 1.213 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of Templates: time 0.002923/1.105, allocations: 0.8284 MB / 1.214 GB, free: 6.672 MB / 0.9356 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