Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001822/0.001822, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.00203/0.00203, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.528/1.528, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.009/3.009, allocations: 496.2 MB / 0.7819 GB, free: 12.18 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 67.89 kB / 1.136 GB, free: 12.32 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348/1.35, allocations: 173.6 MB / 1.305 GB, free: 33.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01339/1.363, allocations: 13.09 MB / 1.318 GB, free: 24.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002478/1.365, allocations: 2.682 MB / 1.321 GB, free: 22.53 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/1.366, allocations: 0 / 1.321 GB, free: 22.53 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003573/1.366, allocations: 48.02 kB / 1.321 GB, free: 22.5 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003132/1.366, allocations: 101.8 kB / 1.321 GB, free: 22.44 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/1.368, allocations: 0.5083 MB / 1.322 GB, free: 22.17 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000234/1.368, allocations: 241.5 kB / 1.322 GB, free: 22.06 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/1.368, allocations: 7.469 kB / 1.322 GB, free: 22.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008627/1.376, allocations: 3.588 MB / 1.325 GB, free: 20.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/1.377, allocations: 96.78 kB / 1.325 GB, free: 20.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/1.377, allocations: 8.188 kB / 1.325 GB, free: 20.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002711/1.379, allocations: 1.079 MB / 1.326 GB, free: 20.19 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.315e-05/1.38, allocations: 44.06 kB / 1.326 GB, free: 20.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.723e-05/1.38, allocations: 81.16 kB / 1.327 GB, free: 20.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008347/1.38, allocations: 374.5 kB / 1.327 GB, free: 19.99 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.38, allocations: 0 / 1.327 GB, free: 19.99 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.876e-06/1.38, allocations: 3.328 kB / 1.327 GB, free: 19.99 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.113e-06/1.38, allocations: 0 / 1.327 GB, free: 19.99 MB / 1.061 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.0007217/1.381, allocations: 0.5038 MB / 1.327 GB, free: 19.54 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/1.381, allocations: 12.27 kB / 1.327 GB, free: 19.54 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/1.381, allocations: 22.34 kB / 1.327 GB, free: 19.53 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/1.382, allocations: 225.3 kB / 1.328 GB, free: 19.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/1.382, allocations: 14.45 kB / 1.328 GB, free: 19.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/1.382, allocations: 17.59 kB / 1.328 GB, free: 19.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/1.382, allocations: 246.8 kB / 1.328 GB, free: 19.15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/1.382, allocations: 0 / 1.328 GB, free: 19.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/1.382, allocations: 10.78 kB / 1.328 GB, free: 19.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/1.382, allocations: 5.188 kB / 1.328 GB, free: 19.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/1.383, allocations: 437 kB / 1.328 GB, free: 19.06 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/1.384, allocations: 0.9575 MB / 1.329 GB, free: 18.21 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/1.384, allocations: 149.9 kB / 1.329 GB, free: 18.15 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/1.384, allocations: 56.25 kB / 1.329 GB, free: 18.13 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/1.385, allocations: 1.831 MB / 1.331 GB, free: 16.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/1.385, allocations: 40.69 kB / 1.331 GB, free: 16.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.253e-06/1.385, allocations: 0 / 1.331 GB, free: 16.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003742/1.385, allocations: 148.6 kB / 1.331 GB, free: 15.97 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/1.386, allocations: 57.34 kB / 1.331 GB, free: 15.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/1.386, allocations: 168 kB / 1.332 GB, free: 15.79 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/1.386, allocations: 31.42 kB / 1.332 GB, free: 15.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/1.386, allocations: 147.1 kB / 1.332 GB, free: 15.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/1.386, allocations: 52.95 kB / 1.332 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/1.386, allocations: 56.73 kB / 1.332 GB, free: 15.54 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.942e-05/1.386, allocations: 325.3 kB / 1.332 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.582e-05/1.386, allocations: 36.33 kB / 1.332 GB, free: 15.21 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/1.386, allocations: 144 kB / 1.332 GB, free: 15.06 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/1.386, allocations: 194.2 kB / 1.333 GB, free: 14.88 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.386, allocations: 1.469 kB / 1.333 GB, free: 14.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004/1.387, allocations: 212.9 kB / 1.333 GB, free: 14.79 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/1.387, allocations: 9.391 kB / 1.333 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.387, allocations: 7.344 kB / 1.333 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/1.387, allocations: 9.875 kB / 1.333 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/1.387, allocations: 54.67 kB / 1.333 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/1.387, allocations: 6.156 kB / 1.333 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/1.387, allocations: 32.11 kB / 1.333 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/1.387, allocations: 14.83 kB / 1.333 GB, free: 14.74 MB / 1.061 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 8.863e-05/1.387, allocations: 133.4 kB / 1.333 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/1.387, allocations: 13.08 kB / 1.333 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/1.388, allocations: 166 kB / 1.333 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/1.388, allocations: 6.688 kB / 1.333 GB, free: 14.51 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.388, allocations: 0 / 1.333 GB, free: 14.51 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.388, allocations: 0.75 kB / 1.333 GB, free: 14.51 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/1.388, allocations: 217.5 kB / 1.333 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.388, allocations: 0 / 1.333 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/1.388, allocations: 26.66 kB / 1.333 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/1.388, allocations: 0.8125 kB / 1.333 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/1.388, allocations: 1.859 kB / 1.333 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/1.388, allocations: 5.359 kB / 1.333 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/1.388, allocations: 9.312 kB / 1.333 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/1.388, allocations: 219.4 kB / 1.334 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-05/1.388, allocations: 109 kB / 1.334 GB, free: 14.01 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/1.388, allocations: 5.422 kB / 1.334 GB, free: 14.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/1.389, allocations: 14.86 kB / 1.334 GB, free: 14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/1.389, allocations: 13.25 kB / 1.334 GB, free: 14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/1.389, allocations: 12.56 kB / 1.334 GB, free: 14 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.891e-05/1.389, allocations: 125.7 kB / 1.334 GB, free: 13.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.389, allocations: 0 / 1.334 GB, free: 13.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004227/1.389, allocations: 83.62 kB / 1.334 GB, free: 13.88 MB / 1.061 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.000329/1.389, allocations: 192.4 kB / 1.334 GB, free: 13.76 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002772/1.39, allocations: 107.9 kB / 1.334 GB, free: 13.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.39, allocations: 1.219 kB / 1.334 GB, free: 13.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.409e-05/1.39, allocations: 38.94 kB / 1.334 GB, free: 13.72 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/1.39, allocations: 62.34 kB / 1.334 GB, free: 13.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007205/1.391, allocations: 364.5 kB / 1.335 GB, free: 13.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/1.391, allocations: 0.7118 MB / 1.335 GB, free: 12.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000161/1.391, allocations: 48.31 kB / 1.336 GB, free: 12.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/1.391, allocations: 22.11 kB / 1.336 GB, free: 12.74 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.391, allocations: 0 / 1.336 GB, free: 12.74 MB / 1.061 GB Notification: Performance of Templates: time 0.0093/1.401, allocations: 3.735 MB / 1.339 GB, free: 12.3 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.43555184546858]