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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001043/0.001043, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001071/0.001071, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.809/2.809, allocations: 436.5 MB / 0.7104 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004413/0.0004413, allocations: 8 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9045/0.905, allocations: 153.6 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.001602/0.9067, allocations: 1.22 MB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002127/0.9069, allocations: 143.7 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.9069, allocations: 0 / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.9069, allocations: 0 / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.642e-05/0.907, allocations: 7.984 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.241e-05/0.9071, allocations: 11.98 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.644e-05/0.9072, allocations: 27.91 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.71e-05/0.9073, allocations: 7.984 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.708e-05/0.9073, allocations: 23.92 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.851e-05/0.9074, allocations: 15.92 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.9074, allocations: 4 kB / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.425e-06/0.9074, allocations: 0 / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.9075, allocations: 11.92 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.9075, allocations: 29.7 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.504e-05/0.9076, allocations: 29.86 kB / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.9076, allocations: 0 / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9076, allocations: 0 / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.9076, allocations: 0 / 1.022 GB, free: 15.56 MB / 0.7794 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.0005029/0.9081, allocations: 371.2 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.9081, allocations: 11.98 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.9082, allocations: 7.906 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.9083, allocations: 170.9 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.9083, allocations: 11.95 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.9083, allocations: 0 / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.9086, allocations: 77.66 kB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.9086, allocations: 0 / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.9086, allocations: 0 / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.9086, allocations: 0 / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.909, allocations: 87.92 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.9093, allocations: 272.8 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.9096, allocations: 74.47 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.9096, allocations: 4 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.9096, allocations: 30.56 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.9096, allocations: 0 / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005659/0.9102, allocations: 161.7 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.9102, allocations: 55.34 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.964e-05/0.9103, allocations: 109.8 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.9104, allocations: 25.7 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.9104, allocations: 84.14 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.9104, allocations: 11.81 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.9104, allocations: 4 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.9106, allocations: 318.8 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.9107, allocations: 43.97 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.9109, allocations: 43.97 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.911, allocations: 40.23 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.911, allocations: 0 / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003326/0.9114, allocations: 121.6 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.9114, allocations: 4 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.9114, allocations: 4 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.9114, allocations: 4 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.9116, allocations: 31.8 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.9116, allocations: 3.984 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.489e-05/0.9117, allocations: 15.98 kB / 1.024 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.9117, allocations: 4.312 kB / 1.024 GB, free: 13.18 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.681e-05/0.9118, allocations: 113.8 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.9118, allocations: 7.906 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.9118, allocations: 7.906 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.9118, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9119, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.9119, allocations: 4 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.912, allocations: 169.6 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.912, allocations: 8 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.9121, allocations: 19.98 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.9122, allocations: 0 / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.9122, allocations: 4 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9122, allocations: 0 / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.9122, allocations: 0 / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.9126, allocations: 223.4 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.9126, allocations: 88.91 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.9126, allocations: 0 / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.9127, allocations: 19.98 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.9128, allocations: 7.984 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.9128, allocations: 0 / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.69e-05/0.9129, allocations: 91.27 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9129, allocations: 0 / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002165/0.9131, allocations: 4 kB / 1.025 GB, free: 12.33 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001247/0.9132, allocations: 107.2 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000368/0.9136, allocations: 87.92 kB / 1.025 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9136, allocations: 0 / 1.025 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.9138, allocations: 51.91 kB / 1.025 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.914, allocations: 11.98 kB / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.9143, allocations: 152.5 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.9146, allocations: 0.6809 MB / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.766e-05/0.9146, allocations: 8 kB / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.9146, allocations: 7.438 kB / 1.026 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.9147, allocations: 0 / 1.026 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of Templates: time 0.002612/0.9173, allocations: 0.629 MB / 1.027 GB, free: 10.55 MB / 0.7794 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","../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches