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.00166/0.00166, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.577/1.577, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.972/2.972, allocations: 437 MB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.89 kB / 0.8692 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6848/0.6868, allocations: 151.6 MB / 1.017 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003223/0.69, allocations: 1.497 MB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003148/0.6904, allocations: 155.5 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.6904, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.918e-05/0.6905, allocations: 11.92 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.087e-05/0.6906, allocations: 3.938 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.46e-05/0.6907, allocations: 11.98 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.399e-05/0.6908, allocations: 47.8 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.6909, allocations: 11.98 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.856e-05/0.691, allocations: 15.92 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.6911, allocations: 23.92 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.6911, allocations: 8 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.6911, allocations: 4 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.6911, allocations: 11.97 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.6912, allocations: 15.88 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.419e-05/0.6913, allocations: 37.84 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.6913, allocations: 4 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6913, allocations: 0 / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.6913, allocations: 0 / 1.019 GB, free: 0.6992 MB / 0.7637 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.0006187/0.6919, allocations: 371.3 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.692, allocations: 8.031 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.692, allocations: 8.875 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.6922, allocations: 172.2 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.6922, allocations: 4.375 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.6922, allocations: 384 / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.6925, allocations: 66.22 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.6925, allocations: 192 / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.6926, allocations: 15.88 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.6926, allocations: 0 / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.6929, allocations: 63.92 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.6933, allocations: 268.9 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.6936, allocations: 62.48 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.6937, allocations: 36.91 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.6937, allocations: 7.984 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.6938, allocations: 30.56 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.974e-06/0.6938, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005981/0.6944, allocations: 137.4 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.6945, allocations: 51.41 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.6946, allocations: 109.8 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.6946, allocations: 29.7 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.6947, allocations: 84.14 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.6947, allocations: 11.91 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.6947, allocations: 9.719 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.6949, allocations: 322.8 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.6951, allocations: 27.97 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.6952, allocations: 35.89 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/0.6956, allocations: 72.8 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.6956, allocations: 3.938 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000491/0.6961, allocations: 105.5 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.6962, allocations: 8 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6962, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.6962, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.6964, allocations: 15.98 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.6964, allocations: 320 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.6966, allocations: 11.98 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.6966, allocations: 0 / 1.021 GB, free: 14.36 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.6967, allocations: 117.8 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.6968, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.6968, allocations: 7.891 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.6968, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6968, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.6968, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.6971, allocations: 173.5 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6972, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.6973, allocations: 19.91 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.6973, allocations: 4 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.6974, allocations: 8 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6974, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6974, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005457/0.6979, allocations: 191.4 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.608e-05/0.698, allocations: 81.05 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.698, allocations: 11.98 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.6982, allocations: 11.98 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.6983, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.6983, allocations: 384 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.334e-05/0.6984, allocations: 95.25 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6984, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003258/0.6987, allocations: 7.906 kB / 1.022 GB, free: 13.54 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 (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.0001358/0.6989, allocations: 99.25 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003748/0.6992, allocations: 75.86 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.6993, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.6994, allocations: 47.97 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.6998, allocations: 11.94 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.7002, allocations: 132.4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.7005, allocations: 0.6807 MB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.725e-05/0.7006, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.7006, allocations: 11.44 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7006, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of Templates: time 0.003611/0.7042, allocations: 0.8028 MB / 1.024 GB, free: 11.63 MB / 0.7794 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=400 -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