Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001417/0.001416, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001936/0.001937, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.763/2.763, allocations: 461.9 MB / 0.7342 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 64.25 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3428, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006581/0.3494, allocations: 4.763 MB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003107/0.3526, allocations: 2.722 MB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.3527, allocations: 0 / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.353, allocations: 39.75 kB / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.3533, allocations: 91.47 kB / 1.06 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.3545, allocations: 457 kB / 1.06 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.3549, allocations: 315.8 kB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.3549, allocations: 9.562 kB / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.3551, allocations: 103.7 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.3553, allocations: 99.58 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.3553, allocations: 12 kB / 1.06 GB, free: 248 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007249/0.3561, allocations: 363.3 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.268e-05/0.3562, allocations: 39.72 kB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.3563, allocations: 79.64 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006162/0.3569, allocations: 363.3 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3569, allocations: 0 / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.01e-07/0.3569, allocations: 0 / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3569, allocations: 0 / 1.061 GB, free: 15.41 MB / 0.8262 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.0007989/0.3577, allocations: 0.5032 MB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3578, allocations: 8.031 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.3579, allocations: 16.84 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.3582, allocations: 220 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3582, allocations: 12.7 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.3582, allocations: 16.38 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.3586, allocations: 252 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.3587, allocations: 0 / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.3587, allocations: 16 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/0.3587, allocations: 7.984 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004778/0.3592, allocations: 431.5 kB / 1.063 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.3604, allocations: 0.9449 MB / 1.064 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.3607, allocations: 160.5 kB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.3609, allocations: 56.89 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001575/0.3624, allocations: 1.833 MB / 1.066 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.3625, allocations: 34.56 kB / 1.066 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.3625, allocations: 0 / 1.066 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0004196/0.3629, allocations: 141.5 kB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.363, allocations: 55.34 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.3632, allocations: 175.9 kB / 1.066 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.3632, allocations: 33.7 kB / 1.066 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.3633, allocations: 139.8 kB / 1.066 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.539e-05/0.3634, allocations: 59.19 kB / 1.066 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-05/0.3635, allocations: 49.7 kB / 1.066 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3636, allocations: 326.8 kB / 1.067 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-05/0.3637, allocations: 31.98 kB / 1.067 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.3638, allocations: 146.1 kB / 1.067 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.3641, allocations: 200.2 kB / 1.067 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3641, allocations: 4 kB / 1.067 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003811/0.3645, allocations: 221 kB / 1.067 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3646, allocations: 8 kB / 1.067 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.3646, allocations: 4 kB / 1.067 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3646, allocations: 4 kB / 1.067 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.3648, allocations: 59.8 kB / 1.067 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.3648, allocations: 8 kB / 1.067 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.3649, allocations: 36.14 kB / 1.067 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.365, allocations: 12 kB / 1.067 GB, free: 8.52 MB / 0.8262 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.0001436/0.3651, allocations: 129.8 kB / 1.067 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.3652, allocations: 15.81 kB / 1.067 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.3655, allocations: 155 kB / 1.068 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.3655, allocations: 3.938 kB / 1.068 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3655, allocations: 7.922 kB / 1.068 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3655, allocations: 0 / 1.068 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.3658, allocations: 221.5 kB / 1.068 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3658, allocations: 0 / 1.068 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.309e-05/0.3659, allocations: 23.98 kB / 1.068 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3659, allocations: 7.938 kB / 1.068 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.366, allocations: 4 kB / 1.068 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.366, allocations: 3.938 kB / 1.068 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.366, allocations: 0 / 1.068 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.3662, allocations: 226.5 kB / 1.068 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.69e-05/0.3663, allocations: 108.9 kB / 1.068 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.3663, allocations: 4 kB / 1.068 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.3665, allocations: 19.92 kB / 1.068 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.3666, allocations: 11.98 kB / 1.068 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.3666, allocations: 11.98 kB / 1.068 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.869e-05/0.3667, allocations: 120 kB / 1.068 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3667, allocations: 0 / 1.068 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003927/0.3671, allocations: 83.92 kB / 1.068 GB, free: 7.289 MB / 0.8262 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.0003637/0.3675, allocations: 167.2 kB / 1.069 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.3677, allocations: 120.6 kB / 1.069 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3677, allocations: 4.062 kB / 1.069 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.613e-05/0.3678, allocations: 47.91 kB / 1.069 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.3682, allocations: 47.97 kB / 1.069 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007121/0.369, allocations: 404.2 kB / 1.069 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.3693, allocations: 0.7131 MB / 1.07 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001673/0.3694, allocations: 49.75 kB / 1.07 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.3695, allocations: 23.44 kB / 1.07 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of SimCode: time 2.014e-06/0.3695, allocations: 0 / 1.07 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of Templates: time 0.0069/0.3764, allocations: 3.307 MB / 1.073 GB, free: 2.398 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches