Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007948/0.007948, allocations: 102.3 kB / 15.73 MB, free: 6.492 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.001744/0.001744, allocations: 200.2 kB / 16.68 MB, free: 6.371 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.783/2.783, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 71.89 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3169, allocations: 159.1 MB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01584/0.3328, allocations: 13 MB / 1.233 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002912/0.3357, allocations: 2.675 MB / 1.236 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.734e-05/0.3358, allocations: 4 kB / 1.236 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.3361, allocations: 47.67 kB / 1.236 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.3364, allocations: 95.36 kB / 1.236 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.3376, allocations: 0.5203 MB / 1.237 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.3379, allocations: 228 kB / 1.237 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.859e-05/0.338, allocations: 9.547 kB / 1.237 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008514/0.3465, allocations: 3.592 MB / 1.24 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.3467, allocations: 83.67 kB / 1.24 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.3467, allocations: 8 kB / 1.24 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.3492, allocations: 1.085 MB / 1.242 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.417e-05/0.3493, allocations: 39.89 kB / 1.242 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.002e-05/0.3494, allocations: 79.66 kB / 1.242 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006237/0.35, allocations: 362.9 kB / 1.242 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.35, allocations: 0 / 1.242 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.35, allocations: 3.938 kB / 1.242 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.35, allocations: 0 / 1.242 GB, free: 7.832 MB / 0.9981 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.0007559/0.3508, allocations: 0.5103 MB / 1.242 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3508, allocations: 8.031 kB / 1.242 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.351, allocations: 24.84 kB / 1.243 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.3513, allocations: 220.1 kB / 1.243 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.3513, allocations: 16.69 kB / 1.243 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.3513, allocations: 20.36 kB / 1.243 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.3517, allocations: 244.2 kB / 1.243 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.3517, allocations: 11.94 kB / 1.243 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.3518, allocations: 8 kB / 1.243 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.3518, allocations: 8 kB / 1.243 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004811/0.3523, allocations: 427.5 kB / 1.243 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.3534, allocations: 0.9567 MB / 1.244 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.3537, allocations: 146.9 kB / 1.244 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.91e-05/0.3538, allocations: 56.88 kB / 1.245 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001445/0.3553, allocations: 1.844 MB / 1.246 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.3553, allocations: 30.56 kB / 1.246 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.3553, allocations: 0 / 1.246 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003455/0.3556, allocations: 145.5 kB / 1.247 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.3557, allocations: 59.28 kB / 1.247 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.3558, allocations: 176 kB / 1.247 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.3559, allocations: 25.7 kB / 1.247 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.414e-05/0.3559, allocations: 152 kB / 1.247 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.356, allocations: 55.53 kB / 1.247 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.771e-05/0.3561, allocations: 53.66 kB / 1.247 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3562, allocations: 322.8 kB / 1.247 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.3562, allocations: 39.92 kB / 1.247 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.3564, allocations: 142.7 kB / 1.247 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.3566, allocations: 207.8 kB / 1.248 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.3566, allocations: 4 kB / 1.248 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003586/0.357, allocations: 205.5 kB / 1.248 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.357, allocations: 8 kB / 1.248 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.357, allocations: 4 kB / 1.248 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3571, allocations: 4 kB / 1.248 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.3572, allocations: 55.84 kB / 1.248 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.3572, allocations: 11.94 kB / 1.248 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.3574, allocations: 35.73 kB / 1.248 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.3574, allocations: 12 kB / 1.248 GB, free: 0.9141 MB / 0.9981 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.0001174/0.3575, allocations: 138.5 kB / 1.248 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.3575, allocations: 15.94 kB / 1.248 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.3578, allocations: 157.6 kB / 1.248 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.3579, allocations: 7.938 kB / 1.248 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3579, allocations: 0 / 1.248 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3579, allocations: 3.938 kB / 1.248 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.3581, allocations: 213.5 kB / 1.249 GB, free: 336 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3582, allocations: 3.984 kB / 1.249 GB, free: 332 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.257e-05/0.3582, allocations: 31.92 kB / 1.249 GB, free: 300 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3582, allocations: 4 kB / 1.249 GB, free: 296 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3583, allocations: 4 kB / 1.249 GB, free: 292 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3583, allocations: 3.938 kB / 1.249 GB, free: 288 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3583, allocations: 0 / 1.249 GB, free: 288 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.3585, allocations: 215.5 kB / 1.249 GB, free: 56 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.7066/1.065, allocations: 109.9 kB / 1.249 GB, free: 31.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/1.065, allocations: 1.453 kB / 1.249 GB, free: 31.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/1.065, allocations: 21.86 kB / 1.249 GB, free: 31.95 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/1.065, allocations: 9.406 kB / 1.249 GB, free: 31.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/1.065, allocations: 13.33 kB / 1.249 GB, free: 31.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001077/1.066, allocations: 118.7 kB / 1.249 GB, free: 31.87 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.066, allocations: 1.031 kB / 1.249 GB, free: 31.87 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005109/1.066, allocations: 84.97 kB / 1.249 GB, free: 31.87 MB / 0.9981 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.0003806/1.066, allocations: 186.7 kB / 1.249 GB, free: 31.78 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003089/1.067, allocations: 114.3 kB / 1.249 GB, free: 31.78 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.067, allocations: 1.5 kB / 1.249 GB, free: 31.78 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.729e-05/1.067, allocations: 43.42 kB / 1.249 GB, free: 31.78 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/1.067, allocations: 50.73 kB / 1.25 GB, free: 31.78 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006759/1.068, allocations: 342.5 kB / 1.25 GB, free: 31.62 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/1.068, allocations: 0.7169 MB / 1.251 GB, free: 30.92 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001576/1.068, allocations: 56 kB / 1.251 GB, free: 30.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.381e-05/1.068, allocations: 24.8 kB / 1.251 GB, free: 30.91 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/1.068, allocations: 0 / 1.251 GB, free: 30.91 MB / 0.9981 GB Notification: Performance of Templates: time 0.007604/1.076, allocations: 3.67 MB / 1.254 GB, free: 30.65 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches