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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008528/0.0008527, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008929/0.0008929, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.751/2.751, allocations: 437.7 MB / 0.7117 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004059, allocations: 12 kB / 0.8722 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8049/0.8053, allocations: 153.8 MB / 1.022 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01736/0.8227, allocations: 12.02 MB / 1.034 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003054/0.8258, allocations: 2.463 MB / 1.037 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.826, allocations: 4 kB / 1.037 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.8263, allocations: 31.8 kB / 1.037 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.8266, allocations: 79.5 kB / 1.037 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.828, allocations: 415.3 kB / 1.037 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003789/0.8284, allocations: 271.9 kB / 1.037 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.626e-05/0.8284, allocations: 9.562 kB / 1.037 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01046/0.8389, allocations: 4.369 MB / 1.042 GB, free: 12.38 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.8392, allocations: 87.66 kB / 1.042 GB, free: 12.3 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.8392, allocations: 8 kB / 1.042 GB, free: 12.29 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002931/0.8422, allocations: 0.9401 MB / 1.043 GB, free: 11.35 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.717e-05/0.8423, allocations: 39.88 kB / 1.043 GB, free: 11.31 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.874e-05/0.8424, allocations: 57.58 kB / 1.043 GB, free: 11.25 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005899/0.843, allocations: 227.5 kB / 1.043 GB, free: 11.03 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.843, allocations: 0 / 1.043 GB, free: 11.03 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.974e-06/0.843, allocations: 0 / 1.043 GB, free: 11.03 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.843, allocations: 0 / 1.043 GB, free: 11.03 MB / 0.795 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.0008378/0.8438, allocations: 475.1 kB / 1.043 GB, free: 10.52 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.8439, allocations: 8.562 kB / 1.043 GB, free: 10.51 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.8441, allocations: 23.81 kB / 1.043 GB, free: 10.48 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.8443, allocations: 214.8 kB / 1.044 GB, free: 10.23 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.8444, allocations: 16.33 kB / 1.044 GB, free: 10.22 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.8444, allocations: 19.98 kB / 1.044 GB, free: 10.2 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.8448, allocations: 236.1 kB / 1.044 GB, free: 9.949 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.8449, allocations: 0 / 1.044 GB, free: 9.949 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.8449, allocations: 12 kB / 1.044 GB, free: 9.938 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.8449, allocations: 8 kB / 1.044 GB, free: 9.93 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005166/0.8455, allocations: 431.3 kB / 1.044 GB, free: 9.508 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.8466, allocations: 0.9682 MB / 1.045 GB, free: 8.449 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.8469, allocations: 159 kB / 1.045 GB, free: 8.285 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.847, allocations: 58.42 kB / 1.045 GB, free: 8.227 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/0.8486, allocations: 1.829 MB / 1.047 GB, free: 6.039 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.8486, allocations: 38.55 kB / 1.047 GB, free: 5.992 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.492e-06/0.8486, allocations: 0 / 1.047 GB, free: 5.992 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0003686/0.849, allocations: 151.4 kB / 1.047 GB, free: 5.84 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.849, allocations: 51.41 kB / 1.047 GB, free: 5.777 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.8492, allocations: 169.4 kB / 1.048 GB, free: 5.602 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.8493, allocations: 33.64 kB / 1.048 GB, free: 5.562 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/0.8493, allocations: 151.8 kB / 1.048 GB, free: 5.41 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.8494, allocations: 47.27 kB / 1.048 GB, free: 5.363 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.8494, allocations: 8 kB / 1.048 GB, free: 5.355 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.8495, allocations: 322.8 kB / 1.048 GB, free: 5.031 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-05/0.8496, allocations: 31.98 kB / 1.048 GB, free: 5 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.8498, allocations: 141.6 kB / 1.048 GB, free: 4.812 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.8499, allocations: 57.91 kB / 1.048 GB, free: 4.758 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.8499, allocations: 0 / 1.048 GB, free: 4.758 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000338/0.8502, allocations: 209.1 kB / 1.049 GB, free: 4.547 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.8503, allocations: 11.94 kB / 1.049 GB, free: 4.535 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.8503, allocations: 4 kB / 1.049 GB, free: 4.531 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.8503, allocations: 11.95 kB / 1.049 GB, free: 4.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.8505, allocations: 55.92 kB / 1.049 GB, free: 4.465 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.8505, allocations: 4 kB / 1.049 GB, free: 4.461 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.8506, allocations: 32.14 kB / 1.049 GB, free: 4.43 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.8507, allocations: 20 kB / 1.049 GB, free: 4.41 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.8508, allocations: 129.7 kB / 1.049 GB, free: 4.273 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.8509, allocations: 11.91 kB / 1.049 GB, free: 4.262 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003145/0.8512, allocations: 166.7 kB / 1.049 GB, free: 4.09 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.8512, allocations: 0 / 1.049 GB, free: 4.09 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.8512, allocations: 7.938 kB / 1.049 GB, free: 4.082 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.8512, allocations: 0 / 1.049 GB, free: 4.082 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.8515, allocations: 213.5 kB / 1.049 GB, free: 3.824 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.8515, allocations: 4 kB / 1.049 GB, free: 3.82 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.129e-05/0.8516, allocations: 27.98 kB / 1.049 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.8516, allocations: 0 / 1.049 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.8516, allocations: 7.984 kB / 1.049 GB, free: 3.785 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8516, allocations: 0 / 1.049 GB, free: 3.785 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-06/0.8516, allocations: 7.969 kB / 1.049 GB, free: 3.777 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.8519, allocations: 220.8 kB / 1.049 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.852, allocations: 116.8 kB / 1.05 GB, free: 3.414 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.852, allocations: 11.98 kB / 1.05 GB, free: 3.402 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.8522, allocations: 15.98 kB / 1.05 GB, free: 3.387 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.8523, allocations: 11.98 kB / 1.05 GB, free: 3.375 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.8523, allocations: 8 kB / 1.05 GB, free: 3.367 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.946e-05/0.8524, allocations: 126.2 kB / 1.05 GB, free: 3.246 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8524, allocations: 3.938 kB / 1.05 GB, free: 3.242 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004342/0.8529, allocations: 71.98 kB / 1.05 GB, free: 3.172 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003327/0.8532, allocations: 179.1 kB / 1.05 GB, free: 2.988 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.8535, allocations: 117.9 kB / 1.05 GB, free: 2.875 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.8535, allocations: 4 kB / 1.05 GB, free: 2.871 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.24e-05/0.8536, allocations: 47.91 kB / 1.05 GB, free: 2.824 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.8541, allocations: 43.97 kB / 1.05 GB, free: 2.781 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007522/0.8548, allocations: 440.2 kB / 1.051 GB, free: 2.332 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.8551, allocations: 0.7094 MB / 1.051 GB, free: 1.598 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002019/0.8554, allocations: 49.75 kB / 1.051 GB, free: 1.543 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.8554, allocations: 23.42 kB / 1.051 GB, free: 1.52 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.8554, allocations: 0 / 1.051 GB, free: 1.52 MB / 0.795 GB Notification: Performance of Templates: time 0.007528/0.863, allocations: 3.407 MB / 1.055 GB, free: 14.15 MB / 0.8106 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