Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009554/0.0009554, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0009772/0.0009772, allocations: 170 kB / 23.27 MB, free: 1.223 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.9615/0.9615, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.393/2.393, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8898 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.804e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004363/0.004382, allocations: 4.851 MB / 0.8945 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.006303, allocations: 2.815 MB / 0.8972 GB, free: 2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.897e-05/0.006372, allocations: 4 kB / 0.8973 GB, free: 1.996 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002305/0.006603, allocations: 51.69 kB / 0.8973 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.006805, allocations: 107.2 kB / 0.8974 GB, free: 1.84 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007952/0.0076, allocations: 0.5638 MB / 0.898 GB, free: 1.273 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.007795, allocations: 247.8 kB / 0.8982 GB, free: 1.031 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.00783, allocations: 9.812 kB / 0.8982 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.008011, allocations: 163.6 kB / 0.8984 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.008126, allocations: 79.77 kB / 0.8984 GB, free: 0.7812 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.008151, allocations: 8 kB / 0.8984 GB, free: 0.7734 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003986/0.008549, allocations: 327.1 kB / 0.8987 GB, free: 464 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.008611, allocations: 43.88 kB / 0.8988 GB, free: 420 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.008662, allocations: 67.83 kB / 0.8989 GB, free: 352 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.00906, allocations: 358.9 kB / 0.8992 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.009062, allocations: 0 / 0.8992 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.52e-07/0.009063, allocations: 0 / 0.8992 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.009066, allocations: 4 kB / 0.8992 GB, free: 15.99 MB / 0.8698 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.0005311/0.009597, allocations: 0.5384 MB / 0.8997 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.009631, allocations: 12.62 kB / 0.8997 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.009745, allocations: 40.77 kB / 0.8998 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.009892, allocations: 160.3 kB / 0.8999 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.009905, allocations: 12.7 kB / 0.8999 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.009923, allocations: 20.38 kB / 0.9 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.01017, allocations: 414.1 kB / 0.9004 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.01018, allocations: 192 / 0.9004 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.0102, allocations: 16.12 kB / 0.9004 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.01022, allocations: 4 kB / 0.9004 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.01044, allocations: 264.8 kB / 0.9006 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006811/0.01112, allocations: 0.9642 MB / 0.9016 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.01128, allocations: 119.5 kB / 0.9017 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.936e-05/0.01131, allocations: 39.7 kB / 0.9017 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004439/0.01176, allocations: 0.554 MB / 0.9023 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.01178, allocations: 37.39 kB / 0.9023 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.041e-06/0.01178, allocations: 0 / 0.9023 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0001819/0.01196, allocations: 128.1 kB / 0.9024 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.01199, allocations: 51.41 kB / 0.9025 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.01209, allocations: 221.8 kB / 0.9027 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.01211, allocations: 25.7 kB / 0.9027 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.79e-05/0.01219, allocations: 194.8 kB / 0.9029 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.01221, allocations: 55.52 kB / 0.9029 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.01226, allocations: 67.28 kB / 0.903 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.01238, allocations: 0.5039 MB / 0.9035 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.499e-05/0.01241, allocations: 19.98 kB / 0.9035 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.29e-05/0.0125, allocations: 166.9 kB / 0.9037 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.01264, allocations: 214.8 kB / 0.9039 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.01264, allocations: 8 kB / 0.9039 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001773/0.01282, allocations: 199.5 kB / 0.9041 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.01283, allocations: 8 kB / 0.9041 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.01284, allocations: 4 kB / 0.9041 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.01285, allocations: 4 kB / 0.9041 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.01295, allocations: 63.91 kB / 0.9042 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.01296, allocations: 4.469 kB / 0.9042 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.954e-05/0.01302, allocations: 27.84 kB / 0.9042 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.01303, allocations: 11.98 kB / 0.9042 GB, free: 10.43 MB / 0.8698 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.697e-05/0.01311, allocations: 184.3 kB / 0.9044 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.01313, allocations: 15.95 kB / 0.9044 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.01329, allocations: 130.2 kB / 0.9045 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.0133, allocations: 4 kB / 0.9045 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.0133, allocations: 4 kB / 0.9045 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.0133, allocations: 0 / 0.9045 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.01343, allocations: 145.1 kB / 0.9047 GB, free: 9.914 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01343, allocations: 3.984 kB / 0.9047 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.683e-05/0.01349, allocations: 35.92 kB / 0.9047 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.01349, allocations: 0 / 0.9047 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.01349, allocations: 4 kB / 0.9047 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01349, allocations: 0 / 0.9047 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01349, allocations: 4 kB / 0.9047 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.01363, allocations: 247.8 kB / 0.9049 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.01367, allocations: 35.81 kB / 0.905 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.01369, allocations: 3.984 kB / 0.905 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.01376, allocations: 11.98 kB / 0.905 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.01378, allocations: 7.984 kB / 0.905 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.01379, allocations: 19.98 kB / 0.905 GB, free: 9.527 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.585e-05/0.01384, allocations: 145.4 kB / 0.9052 GB, free: 9.387 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.01384, allocations: 3.938 kB / 0.9052 GB, free: 9.383 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002385/0.01407, allocations: 79.86 kB / 0.9052 GB, free: 9.305 MB / 0.8698 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.000195/0.01427, allocations: 179 kB / 0.9054 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.0144, allocations: 113.5 kB / 0.9055 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.0144, allocations: 256 / 0.9055 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.069e-05/0.01443, allocations: 41.86 kB / 0.9056 GB, free: 8.965 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.01466, allocations: 50.09 kB / 0.9056 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006167/0.01528, allocations: 323.1 kB / 0.9059 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.455e-05/0.01532, allocations: 68 kB / 0.906 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.995e-05/0.01541, allocations: 49.39 kB / 0.906 GB, free: 8.434 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.01556, allocations: 150.1 kB / 0.9062 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of SimCode: time 6.01e-07/0.01556, allocations: 4 kB / 0.9062 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of Templates: time 0.005223/0.02079, allocations: 3.455 MB / 0.9095 GB, free: 4.871 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.456712749786675]