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.001324/0.001324, allocations: 102.7 kB / 16.27 MB, free: 6.414 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.001249/0.001249, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.497/1.497, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.651/2.651, allocations: 437.1 MB / 0.7111 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 65.38 kB / 0.8699 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3842, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003336/0.3876, allocations: 1.509 MB / 1.019 GB, free: 9.062 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000287/0.3879, allocations: 147.6 kB / 1.02 GB, free: 8.918 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.532e-05/0.388, allocations: 0 / 1.02 GB, free: 8.918 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.796e-05/0.388, allocations: 3.938 kB / 1.02 GB, free: 8.914 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.936e-05/0.3881, allocations: 7.875 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 9.351e-05/0.3882, allocations: 11.98 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.3883, allocations: 55.78 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.3884, allocations: 11.98 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.229e-05/0.3885, allocations: 19.92 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.613e-05/0.3886, allocations: 19.92 kB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.3886, allocations: 4 kB / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.3886, allocations: 4 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.3886, allocations: 7.984 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.797e-05/0.3887, allocations: 23.86 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.536e-05/0.3888, allocations: 32.17 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3888, allocations: 4 kB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3888, allocations: 0 / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.3888, allocations: 0 / 1.02 GB, free: 8.715 MB / 0.795 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.0006602/0.3895, allocations: 367.3 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3896, allocations: 8.031 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.3896, allocations: 4.938 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.3898, allocations: 180.1 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.3898, allocations: 4.375 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.3898, allocations: 8.375 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.3901, allocations: 66.16 kB / 1.02 GB, free: 7.996 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3901, allocations: 192 / 1.02 GB, free: 7.996 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.3901, allocations: 7.938 kB / 1.02 GB, free: 7.988 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3901, allocations: 4 kB / 1.02 GB, free: 7.984 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.3904, allocations: 59.92 kB / 1.02 GB, free: 7.926 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.3909, allocations: 268.9 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.3911, allocations: 70.39 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.3913, allocations: 36.92 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.3913, allocations: 0 / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.3914, allocations: 34.56 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.3914, allocations: 0 / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005683/0.3919, allocations: 133.6 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.392, allocations: 51.41 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3921, allocations: 113.8 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.3921, allocations: 29.7 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.3922, allocations: 84.14 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.3923, allocations: 13.28 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.3923, allocations: 21.64 kB / 1.021 GB, free: 6.973 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3925, allocations: 318.8 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.3926, allocations: 31.97 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.3928, allocations: 31.95 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.3931, allocations: 72.78 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3931, allocations: 3.938 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000313/0.3934, allocations: 93.62 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3934, allocations: 4 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3934, allocations: 3.938 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3935, allocations: 0 / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.3936, allocations: 15.98 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3936, allocations: 4 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.852e-05/0.3937, allocations: 11.98 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.3937, allocations: 4 kB / 1.022 GB, free: 6.371 MB / 0.795 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.000108/0.3938, allocations: 113.8 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.3938, allocations: 11.91 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.3939, allocations: 7.906 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3939, allocations: 0 / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.3939, allocations: 0 / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3939, allocations: 8 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.3941, allocations: 169.6 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3941, allocations: 3.984 kB / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.272e-05/0.3942, allocations: 15.92 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3942, allocations: 0 / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.3943, allocations: 0 / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3943, allocations: 4 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3943, allocations: 0 / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.3947, allocations: 199.4 kB / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.3947, allocations: 85.38 kB / 1.022 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.3948, allocations: 0 / 1.022 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.3949, allocations: 11.98 kB / 1.022 GB, free: 5.656 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.3949, allocations: 4 kB / 1.022 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.395, allocations: 0 / 1.022 GB, free: 5.652 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.925e-05/0.395, allocations: 91.27 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.395, allocations: 0 / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002116/0.3953, allocations: 8 kB / 1.023 GB, free: 5.555 MB / 0.795 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.0001476/0.3954, allocations: 107.2 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003726/0.3958, allocations: 79.86 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3958, allocations: 0 / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.396, allocations: 35.95 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.3963, allocations: 7.938 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.3966, allocations: 164.4 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.397, allocations: 0.6807 MB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.397, allocations: 7.438 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.3971, allocations: 4 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of Templates: time 0.00235/0.3994, allocations: 0.7444 MB / 1.024 GB, free: 3.668 MB / 0.795 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/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