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.001525/0.001525, allocations: 104.4 kB / 15.98 MB, free: 6.355 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.001526/0.001526, allocations: 199.1 kB / 16.91 MB, free: 6.188 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.397/1.397, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.687/2.687, allocations: 469.8 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002536/0.002536, allocations: 67.39 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3374, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.02083/0.3582, allocations: 13.09 MB / 1.077 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.4597/0.818, allocations: 2.65 MB / 1.08 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.8181, allocations: 1.219 kB / 1.08 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.8185, allocations: 37.72 kB / 1.08 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.8188, allocations: 88.45 kB / 1.08 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.82, allocations: 478.5 kB / 1.08 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.8202, allocations: 229.8 kB / 1.08 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.8203, allocations: 14.45 kB / 1.08 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007472/0.8277, allocations: 3.367 MB / 1.084 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.828, allocations: 92.67 kB / 1.084 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.828, allocations: 8.062 kB / 1.084 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.8305, allocations: 1.037 MB / 1.085 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.737e-05/0.8305, allocations: 44.25 kB / 1.085 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.8307, allocations: 86.78 kB / 1.085 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004737/0.8311, allocations: 253.2 kB / 1.085 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.8312, allocations: 0 / 1.085 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8312, allocations: 0.6562 kB / 1.085 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.8312, allocations: 0 / 1.085 GB, free: 9.836 MB / 0.8419 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.0006504/0.8318, allocations: 0.5045 MB / 1.086 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.8319, allocations: 10.22 kB / 1.086 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.832, allocations: 22.39 kB / 1.086 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.8322, allocations: 216 kB / 1.086 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.8322, allocations: 12.45 kB / 1.086 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.8323, allocations: 13.64 kB / 1.086 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/0.8327, allocations: 253.2 kB / 1.086 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.8327, allocations: 3.531 kB / 1.086 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.8327, allocations: 10.66 kB / 1.086 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.8328, allocations: 10.5 kB / 1.086 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005678/0.8333, allocations: 429.8 kB / 1.087 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009556/0.8343, allocations: 0.9609 MB / 1.087 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.8346, allocations: 158 kB / 1.088 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.268e-05/0.8347, allocations: 60.09 kB / 1.088 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009068/0.8356, allocations: 1.846 MB / 1.089 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.8356, allocations: 37.34 kB / 1.089 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.8356, allocations: 0 / 1.089 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003215/0.836, allocations: 144.8 kB / 1.09 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.836, allocations: 57.86 kB / 1.09 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.8361, allocations: 177.6 kB / 1.09 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.8361, allocations: 27.55 kB / 1.09 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.8362, allocations: 140.8 kB / 1.09 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.8362, allocations: 54.44 kB / 1.09 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.8363, allocations: 51.95 kB / 1.09 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 4.619e-05/0.8364, allocations: 321.8 kB / 1.09 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-05/0.8364, allocations: 35.02 kB / 1.09 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.8366, allocations: 140.6 kB / 1.091 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.8368, allocations: 204.8 kB / 1.091 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.8368, allocations: 1.609 kB / 1.091 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003059/0.8371, allocations: 213.2 kB / 1.091 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.8371, allocations: 6.469 kB / 1.091 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.8371, allocations: 6.812 kB / 1.091 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.8371, allocations: 5.156 kB / 1.091 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.8373, allocations: 50.91 kB / 1.091 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.8373, allocations: 12.73 kB / 1.091 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.8375, allocations: 32.94 kB / 1.091 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.8375, allocations: 18.5 kB / 1.091 GB, free: 5.242 MB / 0.8419 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 7.938e-05/0.8376, allocations: 130.5 kB / 1.091 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.8376, allocations: 17.47 kB / 1.091 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.8379, allocations: 162.2 kB / 1.091 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.8379, allocations: 5.812 kB / 1.091 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8379, allocations: 4.656 kB / 1.091 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.838, allocations: 6.828 kB / 1.091 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.8382, allocations: 213.7 kB / 1.092 GB, free: 4.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.8382, allocations: 1.125 kB / 1.092 GB, free: 4.875 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.05e-05/0.8383, allocations: 28.73 kB / 1.092 GB, free: 4.875 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.8383, allocations: 0.75 kB / 1.092 GB, free: 4.875 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.8383, allocations: 3.016 kB / 1.092 GB, free: 4.875 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.8383, allocations: 2.094 kB / 1.092 GB, free: 4.875 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.8383, allocations: 3.938 kB / 1.092 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.8385, allocations: 224.6 kB / 1.092 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.843e-05/0.8386, allocations: 112.5 kB / 1.092 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.8386, allocations: 4.938 kB / 1.092 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.8389, allocations: 16.11 kB / 1.092 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.8389, allocations: 12.52 kB / 1.092 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.8389, allocations: 13 kB / 1.092 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.234e-05/0.839, allocations: 121.3 kB / 1.092 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.839, allocations: 0 / 1.092 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000403/0.8394, allocations: 74.52 kB / 1.092 GB, free: 4.543 MB / 0.8419 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.0003451/0.8398, allocations: 181 kB / 1.092 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002627/0.84, allocations: 130 kB / 1.093 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.8401, allocations: 1.281 kB / 1.093 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.883e-05/0.8401, allocations: 49.22 kB / 1.093 GB, free: 4.43 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.8406, allocations: 60.2 kB / 1.093 GB, free: 4.418 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006519/0.8412, allocations: 423.1 kB / 1.093 GB, free: 4.148 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.8414, allocations: 0.7147 MB / 1.094 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.8415, allocations: 37.41 kB / 1.094 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.8415, allocations: 0 / 1.094 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of Templates: time 0.006399/0.8479, allocations: 3.417 MB / 1.097 GB, free: 3.023 MB / 0.8419 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=400 -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/jenkins1/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