Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterProperties.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.002015/0.002015, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002359/0.002359, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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 1.481/1.481, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 2.747/2.747, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] 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.Examples.WaterProperties,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.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,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.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0.5469 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.804e-05, allocations: 9.406 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007525/0.007553, allocations: 4.516 MB / 0.7908 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003572/0.01112, allocations: 2.462 MB / 0.7932 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/0.0112, allocations: 0 / 0.7932 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.01147, allocations: 48.3 kB / 0.7933 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.01175, allocations: 100.9 kB / 0.7933 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.01305, allocations: 0.5305 MB / 0.7939 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.01337, allocations: 243.8 kB / 0.7941 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.01342, allocations: 10.34 kB / 0.7941 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002798/0.0137, allocations: 158.1 kB / 0.7943 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.01385, allocations: 79.77 kB / 0.7943 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.01389, allocations: 8 kB / 0.7943 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006782/0.01457, allocations: 319.1 kB / 0.7946 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.136e-05/0.01465, allocations: 39.88 kB / 0.7947 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.431e-05/0.01474, allocations: 63.89 kB / 0.7947 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006402/0.01538, allocations: 378.8 kB / 0.7951 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.01539, allocations: 5.719 kB / 0.7951 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.51e-07/0.01539, allocations: 0 / 0.7951 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.01539, allocations: 0 / 0.7951 GB, free: 3.863 MB / 0.7448 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.0008589/0.01625, allocations: 445.9 kB / 0.7955 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.01629, allocations: 8.031 kB / 0.7955 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.0165, allocations: 45.28 kB / 0.7956 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.01679, allocations: 155.2 kB / 0.7957 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.01681, allocations: 16.7 kB / 0.7958 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.01685, allocations: 16.38 kB / 0.7958 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008362/0.01769, allocations: 491.9 kB / 0.7962 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.0177, allocations: 0.9375 kB / 0.7962 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.01773, allocations: 12.12 kB / 0.7963 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.01775, allocations: 8.594 kB / 0.7963 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006022/0.01835, allocations: 416.6 kB / 0.7967 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.01961, allocations: 0.7741 MB / 0.7974 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.01999, allocations: 149.5 kB / 0.7976 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.0201, allocations: 53.75 kB / 0.7976 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008484/0.02095, allocations: 459.6 kB / 0.798 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.02099, allocations: 38.56 kB / 0.7981 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.02099, allocations: 0 / 0.7981 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0003999/0.02139, allocations: 153.4 kB / 0.7982 GB, free: 472 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.02144, allocations: 51.41 kB / 0.7983 GB, free: 408 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.02162, allocations: 162.5 kB / 0.7984 GB, free: 240 kB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.02165, allocations: 29.7 kB / 0.7985 GB, free: 204 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.02177, allocations: 152 kB / 0.7986 GB, free: 48 kB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.821e-05/0.02185, allocations: 52.77 kB / 0.7987 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.918e-05/0.02193, allocations: 49.64 kB / 0.7987 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.02213, allocations: 330.8 kB / 0.799 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.79e-05/0.0222, allocations: 33.02 kB / 0.799 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.02239, allocations: 141.6 kB / 0.7992 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.02269, allocations: 203.8 kB / 0.7994 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.02269, allocations: 4 kB / 0.7994 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004162/0.02311, allocations: 225.6 kB / 0.7996 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.02313, allocations: 4 kB / 0.7996 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.02313, allocations: 4 kB / 0.7996 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.02316, allocations: 8 kB / 0.7996 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.02337, allocations: 59.91 kB / 0.7997 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.02338, allocations: 4 kB / 0.7997 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.0235, allocations: 27.78 kB / 0.7997 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.02352, allocations: 15.98 kB / 0.7997 GB, free: 14.8 MB / 0.7605 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.0001414/0.02366, allocations: 137.7 kB / 0.7998 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.455e-05/0.02374, allocations: 23.97 kB / 0.7999 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/0.02408, allocations: 150.2 kB / 0.8 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.02409, allocations: 4 kB / 0.8 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.02409, allocations: 0 / 0.8 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.0241, allocations: 7.984 kB / 0.8 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.02435, allocations: 153.2 kB / 0.8002 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.02436, allocations: 0 / 0.8002 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.02448, allocations: 31.98 kB / 0.8002 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.02449, allocations: 4 kB / 0.8002 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.0245, allocations: 0 / 0.8002 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.0245, allocations: 0 / 0.8002 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.0245, allocations: 4 kB / 0.8002 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.02483, allocations: 229.1 kB / 0.8004 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-05/0.02491, allocations: 39.86 kB / 0.8005 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.02493, allocations: 0 / 0.8005 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.02514, allocations: 15.98 kB / 0.8005 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.02517, allocations: 7.984 kB / 0.8005 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.02519, allocations: 12 kB / 0.8005 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 9.984e-05/0.02529, allocations: 107.2 kB / 0.8006 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.02529, allocations: 0 / 0.8006 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004259/0.02572, allocations: 83.8 kB / 0.8007 GB, free: 13.75 MB / 0.7605 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.0003522/0.02607, allocations: 191 kB / 0.8009 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.02633, allocations: 112.6 kB / 0.801 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.02634, allocations: 8.125 kB / 0.801 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.195e-05/0.02642, allocations: 42.45 kB / 0.801 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.02684, allocations: 41.67 kB / 0.8011 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007295/0.02757, allocations: 317.4 kB / 0.8014 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.02768, allocations: 94.94 kB / 0.8015 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001595/0.02784, allocations: 45.33 kB / 0.8015 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.155e-05/0.02791, allocations: 32.5 kB / 0.8015 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of SimCode: time 4.01e-07/0.02791, allocations: 0 / 0.8015 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of Templates: time 0.008028/0.03593, allocations: 3.144 MB / 0.8046 GB, free: 9.758 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_11_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterProperties.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: 7.85377772396896]