Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_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.01074/0.01074, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001803/0.001804, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.7/2.7, allocations: 437 MB / 0.7105 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.89 kB / 1.019 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2928, allocations: 151.6 MB / 1.167 GB, free: 6.711 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01697/0.3098, allocations: 12.97 MB / 1.179 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003267/0.3132, allocations: 2.671 MB / 1.182 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.3133, allocations: 4 kB / 1.182 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004229/0.3138, allocations: 51.66 kB / 1.182 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.3141, allocations: 91.38 kB / 1.182 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.3154, allocations: 0.5199 MB / 1.183 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.3157, allocations: 235.9 kB / 1.183 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.418e-05/0.3158, allocations: 17.53 kB / 1.183 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00855/0.3244, allocations: 3.576 MB / 1.186 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.3246, allocations: 95.59 kB / 1.186 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.3246, allocations: 8 kB / 1.186 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002553/0.3272, allocations: 1.069 MB / 1.187 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.3272, allocations: 39.83 kB / 1.188 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.3273, allocations: 79.64 kB / 1.188 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007618/0.3281, allocations: 374.8 kB / 1.188 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3281, allocations: 0 / 1.188 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.365e-06/0.3281, allocations: 4 kB / 1.188 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.3282, allocations: 0 / 1.188 GB, free: 0.832 MB / 0.9356 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.0008498/0.329, allocations: 0.5025 MB / 1.188 GB, free: 288 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3291, allocations: 8.031 kB / 1.188 GB, free: 280 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.3292, allocations: 24.83 kB / 1.188 GB, free: 256 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.3296, allocations: 216.2 kB / 1.189 GB, free: 0 / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.3296, allocations: 8.828 kB / 1.189 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.3296, allocations: 24.31 kB / 1.189 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/0.33, allocations: 248.2 kB / 1.189 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.33, allocations: 0 / 1.189 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.3301, allocations: 12 kB / 1.189 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/0.3301, allocations: 7.984 kB / 1.189 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004829/0.3306, allocations: 427.5 kB / 1.189 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.3318, allocations: 0.9643 MB / 1.19 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.3321, allocations: 168.4 kB / 1.19 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.3323, allocations: 64.88 kB / 1.191 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001595/0.3339, allocations: 1.825 MB / 1.192 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.3339, allocations: 30.56 kB / 1.192 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.3339, allocations: 0 / 1.192 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0004019/0.3343, allocations: 157.4 kB / 1.192 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.3344, allocations: 59.34 kB / 1.193 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.3346, allocations: 168.9 kB / 1.193 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.3346, allocations: 29.7 kB / 1.193 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.3347, allocations: 148 kB / 1.193 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.3348, allocations: 47.59 kB / 1.193 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.692e-05/0.3349, allocations: 53.7 kB / 1.193 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.335, allocations: 322.8 kB / 1.193 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.262e-05/0.3351, allocations: 39.97 kB / 1.193 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.3353, allocations: 143.1 kB / 1.193 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.3356, allocations: 199.9 kB / 1.194 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3356, allocations: 0 / 1.194 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003299/0.3359, allocations: 217.2 kB / 1.194 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.3359, allocations: 11.94 kB / 1.194 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.336, allocations: 4 kB / 1.194 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.336, allocations: 4.469 kB / 1.194 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.3362, allocations: 63.84 kB / 1.194 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.3362, allocations: 4 kB / 1.194 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.3363, allocations: 27.83 kB / 1.194 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.3363, allocations: 16 kB / 1.194 GB, free: 9.914 MB / 0.9512 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.0001246/0.3365, allocations: 129.7 kB / 1.194 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.3365, allocations: 15.91 kB / 1.194 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.3369, allocations: 169.5 kB / 1.194 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.3369, allocations: 3.938 kB / 1.194 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.3369, allocations: 4 kB / 1.194 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3369, allocations: 0 / 1.194 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.3372, allocations: 213.6 kB / 1.194 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3372, allocations: 0 / 1.194 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.555e-05/0.3373, allocations: 24 kB / 1.195 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.3373, allocations: 3.984 kB / 1.195 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.3373, allocations: 7.938 kB / 1.195 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3373, allocations: 7.875 kB / 1.195 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3373, allocations: 0 / 1.195 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.3376, allocations: 227.3 kB / 1.195 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3377, allocations: 112.9 kB / 1.195 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.3377, allocations: 4 kB / 1.195 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.3379, allocations: 19.92 kB / 1.195 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.338, allocations: 7.984 kB / 1.195 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.338, allocations: 12 kB / 1.195 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.241e-05/0.3381, allocations: 120.9 kB / 1.195 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3381, allocations: 0 / 1.195 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004189/0.3385, allocations: 79.86 kB / 1.195 GB, free: 8.68 MB / 0.9512 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.0003131/0.3388, allocations: 190.9 kB / 1.195 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002451/0.3391, allocations: 119.8 kB / 1.195 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3391, allocations: 0 / 1.195 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.74e-05/0.3392, allocations: 50.59 kB / 1.195 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.3396, allocations: 60.88 kB / 1.195 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007044/0.3403, allocations: 346.2 kB / 1.196 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.3407, allocations: 0.7168 MB / 1.197 GB, free: 7.156 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001576/0.3409, allocations: 49.69 kB / 1.197 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.3409, allocations: 31.36 kB / 1.197 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of SimCode: time 6.01e-07/0.3409, allocations: 0 / 1.197 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of Templates: time 0.007313/0.3483, allocations: 3.645 MB / 1.2 GB, free: 3.469 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches