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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 111.4 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 197.1 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 245.7 MB, free: 4.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.656/2.656, allocations: 437.1 MB / 0.7177 GB, free: 4.508 MB / 0.5606 GB " [Timeout remaining time 177] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 68.08 kB / 1.028 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2864, allocations: 151.6 MB / 1.176 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01853/0.305, allocations: 12.97 MB / 1.189 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003164/0.3082, allocations: 2.667 MB / 1.191 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.69e-05/0.3083, allocations: 3.938 kB / 1.191 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.3087, allocations: 47.67 kB / 1.191 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.309, allocations: 103.3 kB / 1.191 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.3103, allocations: 0.4952 MB / 1.192 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.3106, allocations: 235.9 kB / 1.192 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.213e-05/0.3106, allocations: 13.55 kB / 1.192 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008984/0.3196, allocations: 3.582 MB / 1.196 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.3198, allocations: 87.66 kB / 1.196 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.3199, allocations: 12 kB / 1.196 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002918/0.3228, allocations: 1.073 MB / 1.197 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.743e-05/0.3229, allocations: 31.89 kB / 1.197 GB, free: 416 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.323, allocations: 83.66 kB / 1.197 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009301/0.324, allocations: 362.9 kB / 1.197 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.324, allocations: 4 kB / 1.197 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.723e-06/0.324, allocations: 0 / 1.197 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.324, allocations: 3.844 kB / 1.197 GB, free: 15.96 MB / 0.9512 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.0008266/0.3249, allocations: 0.5142 MB / 1.198 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3249, allocations: 8.031 kB / 1.198 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.3251, allocations: 20.84 kB / 1.198 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.3254, allocations: 224.1 kB / 1.198 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.3255, allocations: 8.703 kB / 1.198 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.3255, allocations: 20.38 kB / 1.198 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.3259, allocations: 240.3 kB / 1.198 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.3259, allocations: 3.938 kB / 1.198 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.326, allocations: 11.98 kB / 1.198 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.326, allocations: 8 kB / 1.198 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005943/0.3266, allocations: 423.5 kB / 1.199 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.3279, allocations: 0.9644 MB / 1.2 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.3282, allocations: 159 kB / 1.2 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.3283, allocations: 60.88 kB / 1.2 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001693/0.33, allocations: 1.837 MB / 1.202 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.3301, allocations: 38.56 kB / 1.202 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 2.044e-06/0.3301, allocations: 4 kB / 1.202 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0004109/0.3305, allocations: 139.4 kB / 1.202 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.3306, allocations: 63.28 kB / 1.202 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.3308, allocations: 173.3 kB / 1.202 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.3308, allocations: 29.7 kB / 1.202 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.331, allocations: 152 kB / 1.202 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.049e-05/0.331, allocations: 55.52 kB / 1.202 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.043e-05/0.3311, allocations: 49.7 kB / 1.202 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3313, allocations: 326.8 kB / 1.203 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.445e-05/0.3313, allocations: 31.98 kB / 1.203 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.3315, allocations: 146.7 kB / 1.203 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.3318, allocations: 199.2 kB / 1.203 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3318, allocations: 0 / 1.203 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003419/0.3321, allocations: 213.2 kB / 1.203 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3322, allocations: 6.812 kB / 1.203 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3322, allocations: 4 kB / 1.203 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.3322, allocations: 12 kB / 1.203 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.3324, allocations: 59.84 kB / 1.203 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.3324, allocations: 7.938 kB / 1.203 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.3325, allocations: 23.84 kB / 1.203 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.3326, allocations: 15.98 kB / 1.203 GB, free: 9.043 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.0001233/0.3327, allocations: 141.7 kB / 1.203 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.3328, allocations: 15.91 kB / 1.203 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/0.3331, allocations: 162.2 kB / 1.203 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.3331, allocations: 7.938 kB / 1.204 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3331, allocations: 0 / 1.204 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3331, allocations: 0 / 1.204 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.3334, allocations: 225.5 kB / 1.204 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3334, allocations: 0 / 1.204 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.852e-05/0.3335, allocations: 23.92 kB / 1.204 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.3335, allocations: 4 kB / 1.204 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3336, allocations: 4 kB / 1.204 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3336, allocations: 3.938 kB / 1.204 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3336, allocations: 0 / 1.204 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.3339, allocations: 223.4 kB / 1.204 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.76e-05/0.334, allocations: 108.9 kB / 1.204 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.334, allocations: 0 / 1.204 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.3342, allocations: 23.86 kB / 1.204 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.3342, allocations: 11.98 kB / 1.204 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.3343, allocations: 11.98 kB / 1.204 GB, free: 8 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001042/0.3344, allocations: 124.9 kB / 1.204 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3344, allocations: 4 kB / 1.204 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003986/0.3348, allocations: 79.81 kB / 1.204 GB, free: 7.797 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.000346/0.3351, allocations: 179 kB / 1.204 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000252/0.3354, allocations: 123.7 kB / 1.205 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3354, allocations: 4 kB / 1.205 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.406e-05/0.3355, allocations: 47.91 kB / 1.205 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.3359, allocations: 59.08 kB / 1.205 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008032/0.3367, allocations: 381.1 kB / 1.205 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.3371, allocations: 0.7129 MB / 1.206 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.3372, allocations: 31.42 kB / 1.206 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.3372, allocations: 4 kB / 1.206 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of Templates: time 0.006193/0.3434, allocations: 3.426 MB / 1.209 GB, free: 2.801 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.705692262970842]