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.009374/0.009374, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001574/0.001575, allocations: 190.6 kB / 16.67 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.286/2.286, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.14 kB / 0.9509 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.028, 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.007125/1.035, allocations: 4.717 MB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0031/1.038, allocations: 2.705 MB / 1.095 GB, free: 192 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/1.038, allocations: 1.344 kB / 1.095 GB, free: 192 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003213/1.039, allocations: 45.91 kB / 1.095 GB, free: 168 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003376/1.039, allocations: 102.4 kB / 1.095 GB, free: 100 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/1.041, allocations: 0.5154 MB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0004154/1.041, allocations: 228.4 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 5.896e-05/1.042, allocations: 14.7 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/1.042, allocations: 110.9 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/1.042, allocations: 99.03 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/1.042, allocations: 11.94 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/1.043, allocations: 361.8 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/1.043, allocations: 35.12 kB / 1.097 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/1.044, allocations: 82.53 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008552/1.044, allocations: 366.8 kB / 1.097 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.044, allocations: 0 / 1.097 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.204e-06/1.044, allocations: 0.75 kB / 1.097 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.963e-06/1.044, allocations: 1.094 kB / 1.097 GB, free: 15.31 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.0008635/1.045, allocations: 0.4943 MB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/1.045, allocations: 14.36 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/1.046, allocations: 23.95 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/1.046, allocations: 208.6 kB / 1.098 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/1.046, allocations: 19.22 kB / 1.098 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/1.046, allocations: 19.02 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/1.046, allocations: 246.2 kB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.047, allocations: 4 kB / 1.098 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/1.047, allocations: 11.62 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/1.047, allocations: 6.359 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008162/1.047, allocations: 428.8 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/1.049, allocations: 0.9472 MB / 1.099 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/1.049, allocations: 160.5 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/1.049, allocations: 61.48 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001718/1.051, allocations: 1.829 MB / 1.101 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/1.051, allocations: 41.25 kB / 1.101 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/1.051, allocations: 0 / 1.101 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0003938/1.051, allocations: 142.7 kB / 1.102 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/1.051, allocations: 58.23 kB / 1.102 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/1.052, allocations: 175 kB / 1.102 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/1.052, allocations: 31.23 kB / 1.102 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/1.052, allocations: 141.4 kB / 1.102 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/1.052, allocations: 55.75 kB / 1.102 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.084e-05/1.052, allocations: 49.23 kB / 1.102 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002483/1.052, allocations: 326.7 kB / 1.102 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.335e-05/1.052, allocations: 39.59 kB / 1.102 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/1.053, allocations: 143.8 kB / 1.103 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/1.053, allocations: 200.2 kB / 1.103 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.053, allocations: 1.688 kB / 1.103 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003845/1.053, allocations: 217.1 kB / 1.103 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/1.053, allocations: 6.031 kB / 1.103 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.053, allocations: 8.438 kB / 1.103 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/1.053, allocations: 5.391 kB / 1.103 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/1.053, allocations: 61.95 kB / 1.103 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/1.053, allocations: 6.797 kB / 1.103 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/1.054, allocations: 24.17 kB / 1.103 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/1.054, allocations: 11.81 kB / 1.103 GB, free: 10.07 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.0001211/1.054, allocations: 143.2 kB / 1.103 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/1.054, allocations: 17.12 kB / 1.103 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/1.054, allocations: 157.4 kB / 1.103 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/1.054, allocations: 5.75 kB / 1.103 GB, free: 9.84 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/1.054, allocations: 0 / 1.103 GB, free: 9.84 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.054, allocations: 2.312 kB / 1.103 GB, free: 9.84 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/1.055, allocations: 216.2 kB / 1.104 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/1.055, allocations: 0 / 1.104 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-05/1.055, allocations: 26.77 kB / 1.104 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/1.055, allocations: 0.9062 kB / 1.104 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/1.055, allocations: 6.938 kB / 1.104 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/1.055, allocations: 4.453 kB / 1.104 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.055, allocations: 4.859 kB / 1.104 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/1.055, allocations: 217.5 kB / 1.104 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/1.055, allocations: 111.8 kB / 1.104 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/1.055, allocations: 1.781 kB / 1.104 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/1.055, allocations: 23.45 kB / 1.104 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/1.055, allocations: 8.562 kB / 1.104 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/1.055, allocations: 13.3 kB / 1.104 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000102/1.055, allocations: 119 kB / 1.104 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.055, allocations: 0.7812 kB / 1.104 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004724/1.056, allocations: 75.97 kB / 1.104 GB, free: 9.219 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.0003929/1.056, allocations: 176.7 kB / 1.104 GB, free: 9.102 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002817/1.057, allocations: 115.9 kB / 1.104 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.057, allocations: 1.438 kB / 1.104 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.773e-05/1.057, allocations: 46.62 kB / 1.105 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/1.057, allocations: 61.25 kB / 1.105 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008107/1.058, allocations: 346.2 kB / 1.105 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/1.059, allocations: 0.7181 MB / 1.106 GB, free: 8.121 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001619/1.059, allocations: 45.36 kB / 1.106 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/1.059, allocations: 23.33 kB / 1.106 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.059, allocations: 3.938 kB / 1.106 GB, free: 8.09 MB / 0.8731 GB Notification: Performance of Templates: time 0.00863/1.067, allocations: 3.43 MB / 1.109 GB, free: 7.75 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