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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001956/0.001956, allocations: 105.2 kB / 16.35 MB, free: 5.824 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.002243/0.002244, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.468/1.468, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.577/2.577, allocations: 437.1 MB / 0.7112 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 69.33 kB / 0.8707 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3458, allocations: 151.6 MB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00642/0.3523, allocations: 4.724 MB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003026/0.3554, allocations: 2.706 MB / 1.026 GB, free: 2.352 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.426e-05/0.3555, allocations: 4 kB / 1.026 GB, free: 2.348 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.3557, allocations: 43.69 kB / 1.026 GB, free: 2.305 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002762/0.3561, allocations: 103.3 kB / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.3574, allocations: 0.4904 MB / 1.027 GB, free: 1.715 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.3577, allocations: 232 kB / 1.027 GB, free: 1.484 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.3578, allocations: 13.56 kB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.358, allocations: 119.5 kB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.3581, allocations: 91.61 kB / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.3582, allocations: 8 kB / 1.027 GB, free: 1.25 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007015/0.3589, allocations: 371.3 kB / 1.027 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.46e-05/0.359, allocations: 35.83 kB / 1.027 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.3591, allocations: 83.66 kB / 1.028 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005368/0.3596, allocations: 363.1 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3596, allocations: 3.938 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3596, allocations: 0 / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.3596, allocations: 0 / 1.028 GB, free: 420 kB / 0.795 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.0007778/0.3604, allocations: 0.4954 MB / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3605, allocations: 8.031 kB / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.3606, allocations: 16.84 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.3609, allocations: 216 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.361, allocations: 8.703 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.361, allocations: 20.38 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.3614, allocations: 244.2 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3614, allocations: 3.984 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.3615, allocations: 15.94 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/0.3615, allocations: 4 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004846/0.362, allocations: 436.2 kB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.3631, allocations: 0.9487 MB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.3634, allocations: 161.6 kB / 1.03 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.731e-05/0.3635, allocations: 60.88 kB / 1.03 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001401/0.3649, allocations: 1.829 MB / 1.032 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.3649, allocations: 42.5 kB / 1.032 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.3649, allocations: 0 / 1.032 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0003218/0.3653, allocations: 137.5 kB / 1.032 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.3653, allocations: 59.34 kB / 1.032 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.3655, allocations: 172.2 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.3655, allocations: 33.7 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.993e-05/0.3656, allocations: 139.8 kB / 1.033 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.3656, allocations: 55.2 kB / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.763e-05/0.3657, allocations: 49.7 kB / 1.033 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3659, allocations: 326.8 kB / 1.033 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.418e-05/0.3659, allocations: 31.97 kB / 1.033 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.3661, allocations: 148.6 kB / 1.033 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.3664, allocations: 197.5 kB / 1.034 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3664, allocations: 0 / 1.034 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003299/0.3667, allocations: 223 kB / 1.034 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3667, allocations: 4 kB / 1.034 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3667, allocations: 4 kB / 1.034 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.222e-05/0.3668, allocations: 4 kB / 1.034 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.367, allocations: 63.84 kB / 1.034 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.367, allocations: 12.41 kB / 1.034 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.3671, allocations: 31.69 kB / 1.034 GB, free: 9.539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.3671, allocations: 12 kB / 1.034 GB, free: 9.527 MB / 0.8106 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.0001033/0.3673, allocations: 129.8 kB / 1.034 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.3673, allocations: 15.81 kB / 1.034 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.3676, allocations: 155 kB / 1.034 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.3676, allocations: 7.922 kB / 1.034 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3676, allocations: 0 / 1.034 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3677, allocations: 0 / 1.034 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.3679, allocations: 225.4 kB / 1.034 GB, free: 8.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3679, allocations: 4 kB / 1.034 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-05/0.368, allocations: 16 kB / 1.034 GB, free: 8.926 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.368, allocations: 4 kB / 1.034 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.368, allocations: 7.984 kB / 1.034 GB, free: 8.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.368, allocations: 7.875 kB / 1.034 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.368, allocations: 0 / 1.034 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.3683, allocations: 225.5 kB / 1.035 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3684, allocations: 112.9 kB / 1.035 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.3684, allocations: 0 / 1.035 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.3686, allocations: 23.86 kB / 1.035 GB, free: 8.52 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.3687, allocations: 4 kB / 1.035 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.3687, allocations: 15.98 kB / 1.035 GB, free: 8.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.424e-05/0.3688, allocations: 120 kB / 1.035 GB, free: 8.383 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3688, allocations: 0 / 1.035 GB, free: 8.383 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003735/0.3692, allocations: 83.92 kB / 1.035 GB, free: 8.301 MB / 0.8106 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.0003025/0.3695, allocations: 171.1 kB / 1.035 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.3697, allocations: 120.5 kB / 1.035 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3697, allocations: 192 / 1.035 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.561e-05/0.3698, allocations: 43.98 kB / 1.035 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.3702, allocations: 47.95 kB / 1.035 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007136/0.371, allocations: 354.8 kB / 1.036 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.3714, allocations: 0.7166 MB / 1.036 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00014/0.3715, allocations: 49.75 kB / 1.036 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/0.3716, allocations: 27.44 kB / 1.036 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.3716, allocations: 0 / 1.036 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of Templates: time 0.007048/0.3786, allocations: 3.411 MB / 1.04 GB, free: 3.359 MB / 0.8106 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches