Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 111 kB / 16.41 MB, free: 6.008 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.001606/0.001606, allocations: 183.5 kB / 17.34 MB, free: 5.629 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.2 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.262/2.262, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.89 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8162/0.8175, allocations: 140.4 MB / 1.089 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01893/0.8365, allocations: 12.97 MB / 1.101 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003443/0.84, allocations: 2.668 MB / 1.104 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.8402, allocations: 6.344 kB / 1.104 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.8406, allocations: 44.67 kB / 1.104 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.841, allocations: 93.23 kB / 1.104 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.8427, allocations: 0.5025 MB / 1.105 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.8432, allocations: 236.1 kB / 1.105 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 6.122e-05/0.8433, allocations: 11.91 kB / 1.105 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01206/0.8553, allocations: 3.577 MB / 1.108 GB, free: 9.027 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.8556, allocations: 92.25 kB / 1.108 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.659e-05/0.8557, allocations: 8.219 kB / 1.108 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003429/0.8591, allocations: 1.089 MB / 1.109 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 8.705e-05/0.8592, allocations: 38.67 kB / 1.109 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.8594, allocations: 86.72 kB / 1.11 GB, free: 8.52 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.8606, allocations: 359.3 kB / 1.11 GB, free: 8.402 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.8606, allocations: 5.828 kB / 1.11 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8606, allocations: 0 / 1.11 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.8607, allocations: 0 / 1.11 GB, free: 8.398 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.001049/0.8617, allocations: 0.504 MB / 1.11 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.8618, allocations: 9 kB / 1.11 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.862, allocations: 24.16 kB / 1.11 GB, free: 7.938 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.8624, allocations: 215.5 kB / 1.111 GB, free: 7.719 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.8624, allocations: 14.25 kB / 1.111 GB, free: 7.711 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/0.8624, allocations: 15.25 kB / 1.111 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.8629, allocations: 253.7 kB / 1.111 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.8629, allocations: 0 / 1.111 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.8629, allocations: 7.031 kB / 1.111 GB, free: 7.559 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.863, allocations: 7.688 kB / 1.111 GB, free: 7.559 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005642/0.8635, allocations: 432.7 kB / 1.111 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.8648, allocations: 0.967 MB / 1.112 GB, free: 6.621 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.8651, allocations: 159.4 kB / 1.112 GB, free: 6.562 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.8652, allocations: 61.12 kB / 1.113 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001484/0.8667, allocations: 1.828 MB / 1.114 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.8667, allocations: 40.64 kB / 1.114 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.8667, allocations: 3.938 kB / 1.114 GB, free: 4.453 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0003616/0.8671, allocations: 138.6 kB / 1.114 GB, free: 4.391 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.8672, allocations: 62.77 kB / 1.115 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.8673, allocations: 174.2 kB / 1.115 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.8674, allocations: 32.23 kB / 1.115 GB, free: 4.152 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.218e-05/0.8675, allocations: 136.8 kB / 1.115 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.8675, allocations: 59.84 kB / 1.115 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/0.8676, allocations: 49.02 kB / 1.115 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.8677, allocations: 327.3 kB / 1.115 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.131e-05/0.8678, allocations: 30.89 kB / 1.115 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.8679, allocations: 143.9 kB / 1.115 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.8682, allocations: 195.8 kB / 1.116 GB, free: 3.301 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.8682, allocations: 1.062 kB / 1.116 GB, free: 3.301 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000369/0.8686, allocations: 221.4 kB / 1.116 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.8686, allocations: 9.469 kB / 1.116 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.8686, allocations: 3.469 kB / 1.116 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.8687, allocations: 5.375 kB / 1.116 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.8688, allocations: 58.55 kB / 1.116 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.8689, allocations: 6.828 kB / 1.116 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.869, allocations: 31.69 kB / 1.116 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.869, allocations: 11.5 kB / 1.116 GB, free: 3.16 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.0001214/0.8692, allocations: 135.9 kB / 1.116 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/0.8692, allocations: 17.73 kB / 1.116 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.8696, allocations: 153.5 kB / 1.116 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.8696, allocations: 5.953 kB / 1.116 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.8696, allocations: 1.438 kB / 1.116 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.8696, allocations: 0.8438 kB / 1.116 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.8699, allocations: 224.3 kB / 1.116 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.8699, allocations: 5.312 kB / 1.116 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.078e-05/0.87, allocations: 21.92 kB / 1.116 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.87, allocations: 1.25 kB / 1.116 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.87, allocations: 5.891 kB / 1.117 GB, free: 2.707 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.87, allocations: 5.062 kB / 1.117 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.8701, allocations: 0 / 1.117 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.8703, allocations: 225.2 kB / 1.117 GB, free: 2.535 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.8705, allocations: 112.4 kB / 1.117 GB, free: 2.426 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.8705, allocations: 1.734 kB / 1.117 GB, free: 2.426 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.8707, allocations: 19.42 kB / 1.117 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.8708, allocations: 12.72 kB / 1.117 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.8708, allocations: 16.55 kB / 1.117 GB, free: 2.406 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001032/0.8709, allocations: 120.2 kB / 1.117 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8709, allocations: 0 / 1.117 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004739/0.8714, allocations: 71.98 kB / 1.117 GB, free: 2.309 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.0004002/0.8718, allocations: 193.2 kB / 1.117 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.8721, allocations: 113.8 kB / 1.117 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.8721, allocations: 5.25 kB / 1.117 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.403e-05/0.8721, allocations: 40.97 kB / 1.117 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.8726, allocations: 53.77 kB / 1.117 GB, free: 2.125 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008171/0.8734, allocations: 369.6 kB / 1.118 GB, free: 1.883 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.8738, allocations: 0.7184 MB / 1.119 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.128e-05/0.8739, allocations: 29.55 kB / 1.119 GB, free: 1.168 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/0.8739, allocations: 0.5 kB / 1.119 GB, free: 1.168 MB / 0.8731 GB Notification: Performance of Templates: time 0.00798/0.8819, allocations: 3.423 MB / 1.122 GB, free: 0.7188 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches