Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.WaterProperties.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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_10_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_10_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002539/0.002539, allocations: 195 kB / 16.14 MB, free: 6.656 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.451/1.451, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.746/2.746, allocations: 437 MB / 0.7099 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 59.91 kB / 0.8685 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7767/0.7783, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.008554/0.7869, allocations: 4.75 MB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004147/0.7911, allocations: 2.73 MB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.7912, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.7916, allocations: 39.8 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.792, allocations: 91.48 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.7932, allocations: 457.3 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00036/0.7936, allocations: 299.9 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.447e-05/0.7937, allocations: 21.48 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.7938, allocations: 107.6 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.794, allocations: 91.66 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.794, allocations: 8 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006624/0.7947, allocations: 371.1 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.031e-05/0.7948, allocations: 35.89 kB / 1.025 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.7949, allocations: 83.59 kB / 1.025 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005551/0.7955, allocations: 353.1 kB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.7955, allocations: 0 / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7955, allocations: 4 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.7955, allocations: 0 / 1.026 GB, free: 9.379 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007774/0.7963, allocations: 0.5048 MB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.7964, allocations: 11.97 kB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.7965, allocations: 24.83 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.7968, allocations: 216 kB / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.7968, allocations: 8.703 kB / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.7968, allocations: 16.38 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.7972, allocations: 248.3 kB / 1.027 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.7972, allocations: 0 / 1.027 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.7973, allocations: 15.92 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.7973, allocations: 4 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005131/0.7978, allocations: 435.3 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.7989, allocations: 0.9449 MB / 1.028 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.7992, allocations: 159.1 kB / 1.028 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.7993, allocations: 66.41 kB / 1.028 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001781/0.8011, allocations: 1.821 MB / 1.03 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.8012, allocations: 30.56 kB / 1.03 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.8012, allocations: 0 / 1.03 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0004438/0.8017, allocations: 157.4 kB / 1.03 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.8017, allocations: 55.34 kB / 1.03 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.8019, allocations: 177.8 kB / 1.031 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.802, allocations: 29.64 kB / 1.031 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.8021, allocations: 139.8 kB / 1.031 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.049e-05/0.8022, allocations: 51.3 kB / 1.031 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.973e-05/0.8023, allocations: 53.61 kB / 1.031 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.8024, allocations: 326.8 kB / 1.031 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.453e-05/0.8025, allocations: 35.98 kB / 1.031 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.8027, allocations: 139.9 kB / 1.031 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.8031, allocations: 201.5 kB / 1.031 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.8031, allocations: 8 kB / 1.031 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004827/0.8036, allocations: 210.3 kB / 1.032 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.8036, allocations: 11.94 kB / 1.032 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.8036, allocations: 4.469 kB / 1.032 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.8037, allocations: 8 kB / 1.032 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.8039, allocations: 59.84 kB / 1.032 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.8039, allocations: 7.938 kB / 1.032 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.8041, allocations: 27.73 kB / 1.032 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.8042, allocations: 16 kB / 1.032 GB, free: 2.488 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001414/0.8043, allocations: 134.2 kB / 1.032 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.349e-05/0.8044, allocations: 15.81 kB / 1.032 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.8049, allocations: 159 kB / 1.032 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.8049, allocations: 3.938 kB / 1.032 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.8049, allocations: 0 / 1.032 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.8049, allocations: 0 / 1.032 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.8053, allocations: 213.6 kB / 1.032 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.8053, allocations: 0 / 1.032 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.8054, allocations: 27.92 kB / 1.032 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.8054, allocations: 4 kB / 1.032 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.8055, allocations: 0 / 1.032 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.8055, allocations: 3.938 kB / 1.032 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8055, allocations: 3.938 kB / 1.032 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.8058, allocations: 228.2 kB / 1.033 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.806, allocations: 108.8 kB / 1.033 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.806, allocations: 4 kB / 1.033 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.8063, allocations: 15.92 kB / 1.033 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.8063, allocations: 23.97 kB / 1.033 GB, free: 1.469 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.8064, allocations: 4 kB / 1.033 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001173/0.8065, allocations: 138.2 kB / 1.033 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8065, allocations: 0 / 1.033 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005979/0.8071, allocations: 80 kB / 1.033 GB, free: 1.254 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.000502/0.8076, allocations: 167.1 kB / 1.033 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000311/0.808, allocations: 116.5 kB / 1.033 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.808, allocations: 4 kB / 1.033 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.754e-05/0.8081, allocations: 45.61 kB / 1.033 GB, free: 0.9219 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006948/0.8088, allocations: 60.81 kB / 1.033 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.8098, allocations: 384.4 kB / 1.034 GB, free: 476 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.8103, allocations: 0.717 MB / 1.034 GB, free: 15.72 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000236/0.8105, allocations: 49.69 kB / 1.034 GB, free: 15.67 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/0.8106, allocations: 27.44 kB / 1.034 GB, free: 15.64 MB / 0.795 GB Notification: Performance of SimCode: time 3.4e-07/0.8106, allocations: 0 / 1.034 GB, free: 15.64 MB / 0.795 GB Notification: Performance of Templates: time 0.009424/0.82, allocations: 3.315 MB / 1.038 GB, free: 12.37 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_10_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches