Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005554/0.005555, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.001316/0.001316, allocations: 201.3 kB / 16.68 MB, free: 5.93 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.89 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9782/0.9795, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006107/0.9856, allocations: 4.723 MB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002618/0.9883, allocations: 2.7 MB / 1.095 GB, free: 184 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.9884, allocations: 1.562 kB / 1.095 GB, free: 184 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.9887, allocations: 47.05 kB / 1.095 GB, free: 160 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.989, allocations: 101.2 kB / 1.095 GB, free: 92 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.9905, allocations: 0.5097 MB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000346/0.9909, allocations: 232.3 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 5.469e-05/0.991, allocations: 10.17 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.9912, allocations: 119.4 kB / 1.096 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.9914, allocations: 99.98 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.9914, allocations: 12.25 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.9925, allocations: 357.1 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 9.786e-05/0.9926, allocations: 38.62 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.9927, allocations: 82.67 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007304/0.9935, allocations: 361.6 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9935, allocations: 0 / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.462e-06/0.9935, allocations: 0.5625 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.9935, allocations: 0 / 1.097 GB, free: 15.3 MB / 0.8731 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.0008011/0.9943, allocations: 0.5075 MB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.9944, allocations: 9.781 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.9946, allocations: 23.16 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.9949, allocations: 217.1 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.995, allocations: 15.47 kB / 1.098 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.995, allocations: 15.03 kB / 1.098 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.9955, allocations: 252.8 kB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.9955, allocations: 6.016 kB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.9956, allocations: 6.156 kB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/0.9956, allocations: 6.5 kB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007517/0.9964, allocations: 429 kB / 1.099 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.9978, allocations: 0.955 MB / 1.099 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.9982, allocations: 158.5 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.9984, allocations: 62 kB / 1.1 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002508/1.001, allocations: 1.832 MB / 1.101 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/1.001, allocations: 37.27 kB / 1.101 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.814e-06/1.001, allocations: 0 / 1.101 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0003869/1.001, allocations: 144.9 kB / 1.102 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/1.001, allocations: 61.56 kB / 1.102 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/1.002, allocations: 167.5 kB / 1.102 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/1.002, allocations: 32.62 kB / 1.102 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/1.002, allocations: 145.6 kB / 1.102 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.524e-05/1.002, allocations: 55.09 kB / 1.102 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/1.002, allocations: 56.81 kB / 1.102 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001733/1.002, allocations: 323.7 kB / 1.102 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/1.002, allocations: 39.38 kB / 1.102 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/1.003, allocations: 144.1 kB / 1.103 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/1.003, allocations: 197.2 kB / 1.103 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.003, allocations: 1.125 kB / 1.103 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003767/1.003, allocations: 222.3 kB / 1.103 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.003, allocations: 7.75 kB / 1.103 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/1.003, allocations: 3.344 kB / 1.103 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/1.003, allocations: 5.594 kB / 1.103 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/1.004, allocations: 58.98 kB / 1.103 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/1.004, allocations: 5.547 kB / 1.103 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/1.004, allocations: 33.92 kB / 1.103 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/1.004, allocations: 13.97 kB / 1.103 GB, free: 10.04 MB / 0.8731 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.0001365/1.004, allocations: 133.1 kB / 1.103 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/1.004, allocations: 16.02 kB / 1.103 GB, free: 9.902 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000363/1.004, allocations: 150.2 kB / 1.103 GB, free: 9.824 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/1.004, allocations: 6.609 kB / 1.103 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.004, allocations: 1.094 kB / 1.103 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.004, allocations: 1.219 kB / 1.103 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/1.005, allocations: 228 kB / 1.104 GB, free: 9.594 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.005, allocations: 0.8125 kB / 1.104 GB, free: 9.594 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/1.005, allocations: 26.2 kB / 1.104 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.005, allocations: 0.6562 kB / 1.104 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/1.005, allocations: 2.141 kB / 1.104 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/1.005, allocations: 5.406 kB / 1.104 GB, free: 9.586 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.005, allocations: 4.688 kB / 1.104 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/1.005, allocations: 221.9 kB / 1.104 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/1.005, allocations: 107.6 kB / 1.104 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/1.006, allocations: 7.938 kB / 1.104 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/1.006, allocations: 19.19 kB / 1.104 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/1.006, allocations: 8.938 kB / 1.104 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/1.006, allocations: 13.64 kB / 1.104 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001381/1.006, allocations: 119.4 kB / 1.104 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.11e-07/1.006, allocations: 0 / 1.104 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005168/1.007, allocations: 80.08 kB / 1.104 GB, free: 9.188 MB / 0.8731 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.0003999/1.007, allocations: 183.7 kB / 1.104 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002785/1.007, allocations: 113.6 kB / 1.105 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.007, allocations: 8.875 kB / 1.105 GB, free: 9.027 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.951e-05/1.007, allocations: 41.77 kB / 1.105 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/1.008, allocations: 54.44 kB / 1.105 GB, free: 9 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008322/1.009, allocations: 344.8 kB / 1.105 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/1.009, allocations: 0.7149 MB / 1.106 GB, free: 8.09 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001675/1.009, allocations: 49.39 kB / 1.106 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/1.009, allocations: 26.2 kB / 1.106 GB, free: 8.055 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/1.009, allocations: 0 / 1.106 GB, free: 8.055 MB / 0.8731 GB Notification: Performance of Templates: time 0.009289/1.019, allocations: 3.44 MB / 1.109 GB, free: 7.707 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_9_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches