Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000793/0.000793, allocations: 72.5 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.0007906/0.0007906, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.8613/0.8613, allocations: 177.1 MB / 203.5 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.69/1.69, allocations: 377.9 MB / 0.6228 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.9822 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.473e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.009736/0.00975, allocations: 11.95 MB / 0.9939 GB, free: 6.027 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.01132, allocations: 2.422 MB / 0.9963 GB, free: 3.598 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.037e-05/0.01139, allocations: 0 / 0.9963 GB, free: 3.598 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.0116, allocations: 35.77 kB / 0.9963 GB, free: 3.562 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.01181, allocations: 103.2 kB / 0.9964 GB, free: 3.461 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006489/0.01245, allocations: 0.5458 MB / 0.997 GB, free: 2.918 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.01263, allocations: 239.8 kB / 0.9972 GB, free: 2.684 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.01267, allocations: 17.8 kB / 0.9972 GB, free: 2.668 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004016/0.01669, allocations: 3.626 MB / 1.001 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.864e-05/0.01679, allocations: 79.77 kB / 1.001 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.01681, allocations: 8 kB / 1.001 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.0183, allocations: 1.053 MB / 1.002 GB, free: 13.89 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.929e-05/0.01837, allocations: 43.75 kB / 1.002 GB, free: 13.84 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.01842, allocations: 55.91 kB / 1.002 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004377/0.01886, allocations: 390.8 kB / 1.002 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.01886, allocations: 0 / 1.002 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.91e-07/0.01886, allocations: 0 / 1.002 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.01887, allocations: 0 / 1.002 GB, free: 13.41 MB / 0.9636 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.0005579/0.01942, allocations: 445.4 kB / 1.003 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.01946, allocations: 12.03 kB / 1.003 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.01957, allocations: 28.77 kB / 1.003 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.01975, allocations: 157.6 kB / 1.003 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.01977, allocations: 8.703 kB / 1.003 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.01978, allocations: 20.38 kB / 1.003 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.02011, allocations: 487.9 kB / 1.003 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.02012, allocations: 192 / 1.003 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.02014, allocations: 16.12 kB / 1.003 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.02016, allocations: 4 kB / 1.003 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.02048, allocations: 423.5 kB / 1.004 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008152/0.0213, allocations: 0.7856 MB / 1.005 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.02153, allocations: 151.5 kB / 1.005 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.545e-05/0.02159, allocations: 52.88 kB / 1.005 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004683/0.02206, allocations: 463.8 kB / 1.005 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.02208, allocations: 34.55 kB / 1.005 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 1.994e-06/0.02208, allocations: 8 kB / 1.005 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.0002469/0.02233, allocations: 144.6 kB / 1.005 GB, free: 10 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.02235, allocations: 51.41 kB / 1.005 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.02245, allocations: 169.5 kB / 1.006 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.02247, allocations: 29.7 kB / 1.006 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.02253, allocations: 144.1 kB / 1.006 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.02255, allocations: 55.52 kB / 1.006 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.0226, allocations: 53.66 kB / 1.006 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.039e-05/0.02268, allocations: 330.8 kB / 1.006 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.251e-05/0.02272, allocations: 27.98 kB / 1.006 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.689e-05/0.02282, allocations: 145.6 kB / 1.006 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.02297, allocations: 193.5 kB / 1.007 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.02298, allocations: 4 kB / 1.007 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002156/0.02319, allocations: 215.9 kB / 1.007 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.02321, allocations: 12 kB / 1.007 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.02321, allocations: 4 kB / 1.007 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.02323, allocations: 4 kB / 1.007 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.02333, allocations: 59.86 kB / 1.007 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.02334, allocations: 7.984 kB / 1.007 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.851e-05/0.0234, allocations: 31.72 kB / 1.007 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.02341, allocations: 15.98 kB / 1.007 GB, free: 8.328 MB / 0.9636 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.268e-05/0.02348, allocations: 133.7 kB / 1.007 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.02351, allocations: 11.95 kB / 1.007 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.0237, allocations: 162.1 kB / 1.007 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.02371, allocations: 3.984 kB / 1.007 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.02372, allocations: 0 / 1.007 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.02372, allocations: 4 kB / 1.007 GB, free: 8 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/0.02411, allocations: 153.2 kB / 1.007 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.02411, allocations: 7.938 kB / 1.007 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.234e-05/0.02418, allocations: 27.98 kB / 1.007 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.02418, allocations: 0 / 1.007 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.02419, allocations: 8 kB / 1.007 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.02419, allocations: 0 / 1.007 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.02419, allocations: 4 kB / 1.007 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.02435, allocations: 226.4 kB / 1.008 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.02439, allocations: 35.81 kB / 1.008 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.02441, allocations: 0 / 1.008 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.787e-05/0.02451, allocations: 15.98 kB / 1.008 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.02452, allocations: 7.984 kB / 1.008 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.02454, allocations: 15.98 kB / 1.008 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.769e-05/0.02459, allocations: 109.7 kB / 1.008 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.02459, allocations: 0 / 1.008 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002398/0.02483, allocations: 79.88 kB / 1.008 GB, free: 7.281 MB / 0.9636 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.0002403/0.02507, allocations: 191 kB / 1.008 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001702/0.02524, allocations: 116.2 kB / 1.008 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02524, allocations: 0 / 1.008 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.013e-05/0.02528, allocations: 43.91 kB / 1.008 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.02553, allocations: 38.73 kB / 1.008 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.02605, allocations: 336.3 kB / 1.009 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.313e-05/0.02614, allocations: 106.8 kB / 1.009 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.02617, allocations: 32.5 kB / 1.009 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.02617, allocations: 0 / 1.009 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of Templates: time 0.003633/0.02981, allocations: 3.431 MB / 1.012 GB, free: 2.965 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.742811674252152]