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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007834/0.0007834, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007903/0.0007903, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8585/0.8585, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.578/1.578, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.9518 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.703e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0103/0.01033, allocations: 11.96 MB / 0.9635 GB, free: 6.945 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.01191, allocations: 2.414 MB / 0.9658 GB, free: 4.523 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.725e-05/0.01198, allocations: 4 kB / 0.9658 GB, free: 4.52 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.01222, allocations: 43.69 kB / 0.9659 GB, free: 4.477 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.01242, allocations: 103.2 kB / 0.966 GB, free: 4.375 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006645/0.01309, allocations: 0.5353 MB / 0.9665 GB, free: 3.84 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.01329, allocations: 243.8 kB / 0.9667 GB, free: 3.602 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.01333, allocations: 5.812 kB / 0.9667 GB, free: 3.594 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004418/0.01775, allocations: 3.634 MB / 0.9703 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.01786, allocations: 79.77 kB / 0.9703 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.01788, allocations: 8 kB / 0.9704 GB, free: 15.85 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.01928, allocations: 1.048 MB / 0.9714 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.01933, allocations: 35.89 kB / 0.9714 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.01939, allocations: 67.81 kB / 0.9715 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0004163/0.0198, allocations: 382.9 kB / 0.9718 GB, free: 14.33 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.01981, allocations: 4 kB / 0.9718 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.282e-06/0.01981, allocations: 0 / 0.9718 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.01981, allocations: 0 / 0.9718 GB, free: 14.32 MB / 0.9323 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.0005932/0.02041, allocations: 449.4 kB / 0.9723 GB, free: 13.86 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.02044, allocations: 12.02 kB / 0.9723 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.02055, allocations: 20.84 kB / 0.9723 GB, free: 13.82 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.02078, allocations: 153.6 kB / 0.9725 GB, free: 13.65 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.02079, allocations: 8.703 kB / 0.9725 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.02081, allocations: 16.38 kB / 0.9725 GB, free: 13.62 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000489/0.0213, allocations: 491.9 kB / 0.9729 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.02131, allocations: 192 / 0.9729 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.02133, allocations: 20.11 kB / 0.973 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.02135, allocations: 7.938 kB / 0.973 GB, free: 13.04 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.02167, allocations: 423.5 kB / 0.9734 GB, free: 12.63 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007259/0.0224, allocations: 0.7779 MB / 0.9741 GB, free: 11.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.02264, allocations: 157 kB / 0.9743 GB, free: 11.64 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.595e-05/0.02271, allocations: 56.88 kB / 0.9743 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004396/0.02315, allocations: 471.9 kB / 0.9748 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.02317, allocations: 30.56 kB / 0.9748 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 9.82e-07/0.02317, allocations: 0 / 0.9748 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0002535/0.02342, allocations: 156.7 kB / 0.975 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.02345, allocations: 51.41 kB / 0.975 GB, free: 10.85 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.477e-05/0.02354, allocations: 160.8 kB / 0.9752 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.02356, allocations: 29.7 kB / 0.9752 GB, free: 10.65 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.02361, allocations: 140.1 kB / 0.9753 GB, free: 10.51 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.02364, allocations: 63.47 kB / 0.9754 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.02368, allocations: 53.66 kB / 0.9754 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.221e-05/0.02375, allocations: 326.8 kB / 0.9758 GB, free: 10.06 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.0238, allocations: 35.97 kB / 0.9758 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.698e-05/0.02388, allocations: 141.7 kB / 0.9759 GB, free: 9.836 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.02403, allocations: 193.5 kB / 0.9761 GB, free: 9.598 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.02403, allocations: 0 / 0.9761 GB, free: 9.598 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002006/0.02424, allocations: 213.2 kB / 0.9763 GB, free: 9.383 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.02425, allocations: 8 kB / 0.9763 GB, free: 9.375 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.02425, allocations: 0 / 0.9763 GB, free: 9.375 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.02427, allocations: 8 kB / 0.9763 GB, free: 9.367 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.02437, allocations: 64.31 kB / 0.9764 GB, free: 9.305 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.02438, allocations: 4 kB / 0.9764 GB, free: 9.301 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.79e-05/0.02444, allocations: 35.77 kB / 0.9764 GB, free: 9.266 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.02445, allocations: 12 kB / 0.9764 GB, free: 9.254 MB / 0.9323 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.61e-05/0.02453, allocations: 129.7 kB / 0.9766 GB, free: 9.117 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.02455, allocations: 15.91 kB / 0.9766 GB, free: 9.102 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.02474, allocations: 165.1 kB / 0.9767 GB, free: 8.934 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.02475, allocations: 3.984 kB / 0.9767 GB, free: 8.93 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.02476, allocations: 0 / 0.9767 GB, free: 8.93 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.02476, allocations: 0 / 0.9767 GB, free: 8.93 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.02489, allocations: 161.1 kB / 0.9769 GB, free: 8.742 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.02489, allocations: 0 / 0.9769 GB, free: 8.742 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.555e-05/0.02494, allocations: 31.98 kB / 0.9769 GB, free: 8.711 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.02495, allocations: 3.938 kB / 0.9769 GB, free: 8.707 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.02495, allocations: 4 kB / 0.9769 GB, free: 8.703 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.02495, allocations: 4 kB / 0.9769 GB, free: 8.699 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.02496, allocations: 3.984 kB / 0.9769 GB, free: 8.695 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.02511, allocations: 215.3 kB / 0.9771 GB, free: 8.469 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.02515, allocations: 31.86 kB / 0.9772 GB, free: 8.438 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.02516, allocations: 7.984 kB / 0.9772 GB, free: 8.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.356e-05/0.02526, allocations: 12 kB / 0.9772 GB, free: 8.418 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.02527, allocations: 15.97 kB / 0.9772 GB, free: 8.402 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.02529, allocations: 8 kB / 0.9772 GB, free: 8.395 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 4.47e-05/0.02533, allocations: 114.3 kB / 0.9773 GB, free: 8.285 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.02533, allocations: 0 / 0.9773 GB, free: 8.285 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002454/0.02558, allocations: 87.75 kB / 0.9774 GB, free: 8.199 MB / 0.9323 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.0002297/0.02581, allocations: 187 kB / 0.9776 GB, free: 8.008 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.02596, allocations: 107.8 kB / 0.9777 GB, free: 7.902 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.02597, allocations: 4 kB / 0.9777 GB, free: 7.898 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 4.132e-05/0.02601, allocations: 47.52 kB / 0.9777 GB, free: 7.855 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.02625, allocations: 49.78 kB / 0.9778 GB, free: 7.809 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004965/0.02675, allocations: 328 kB / 0.9781 GB, free: 7.453 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.888e-05/0.02682, allocations: 110.5 kB / 0.9782 GB, free: 7.324 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.02686, allocations: 28.5 kB / 0.9782 GB, free: 7.297 MB / 0.9323 GB Notification: Performance of SimCode: time 5.21e-07/0.02686, allocations: 0 / 0.9782 GB, free: 7.297 MB / 0.9323 GB Notification: Performance of Templates: time 0.003519/0.03038, allocations: 3.43 MB / 0.9816 GB, free: 3.887 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.740947491489351]