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.0009427/0.0009427, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001648/0.001648, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9926/0.9926, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.737/1.737, allocations: 359 MB / 0.6055 GB, free: 10.86 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.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_11_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_11_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.919e-05, allocations: 6.25 kB / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004646/0.004665, allocations: 4.835 MB / 0.7923 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.006591, allocations: 2.82 MB / 0.7951 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.611e-05/0.006667, allocations: 0 / 0.7951 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.006892, allocations: 52.39 kB / 0.7951 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.007103, allocations: 105.2 kB / 0.7952 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008974/0.008001, allocations: 0.5681 MB / 0.7958 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.008206, allocations: 253.1 kB / 0.796 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.00824, allocations: 5.812 kB / 0.796 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.008422, allocations: 168.5 kB / 0.7962 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.008526, allocations: 79.77 kB / 0.7962 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.008547, allocations: 8 kB / 0.7963 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.008955, allocations: 329.5 kB / 0.7966 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.009011, allocations: 43.81 kB / 0.7966 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.009062, allocations: 59.91 kB / 0.7967 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003862/0.009448, allocations: 362.8 kB / 0.797 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.00945, allocations: 0 / 0.797 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.61e-07/0.009451, allocations: 0 / 0.797 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.317e-06/0.009454, allocations: 3.438 kB / 0.797 GB, free: 2.492 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.0005455/0.01, allocations: 0.5388 MB / 0.7975 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.01003, allocations: 8.031 kB / 0.7976 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.01015, allocations: 40.72 kB / 0.7976 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.0103, allocations: 164.3 kB / 0.7977 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.01032, allocations: 16.7 kB / 0.7978 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.01034, allocations: 16.38 kB / 0.7978 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.0106, allocations: 426 kB / 0.7982 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.0106, allocations: 1.031 kB / 0.7982 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.01062, allocations: 12.12 kB / 0.7982 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.01065, allocations: 4.5 kB / 0.7982 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.01083, allocations: 257 kB / 0.7984 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008392/0.01167, allocations: 0.9699 MB / 0.7994 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.01184, allocations: 120 kB / 0.7995 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.01188, allocations: 42.72 kB / 0.7995 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004515/0.01233, allocations: 0.548 MB / 0.8001 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.01235, allocations: 37.39 kB / 0.8001 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 2.945e-06/0.01236, allocations: 0.6562 kB / 0.8001 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0001868/0.01254, allocations: 121.5 kB / 0.8002 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.01256, allocations: 53.34 kB / 0.8003 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.058e-05/0.01266, allocations: 216.4 kB / 0.8005 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.01267, allocations: 29.7 kB / 0.8005 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.01274, allocations: 194.8 kB / 0.8007 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.01277, allocations: 59.52 kB / 0.8008 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.01282, allocations: 58.66 kB / 0.8008 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.01293, allocations: 0.5 MB / 0.8013 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.45e-05/0.01296, allocations: 19.98 kB / 0.8013 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.91e-05/0.01305, allocations: 170.9 kB / 0.8015 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.01319, allocations: 220.6 kB / 0.8017 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01319, allocations: 5.062 kB / 0.8017 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001896/0.01338, allocations: 200.4 kB / 0.8019 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.01339, allocations: 4 kB / 0.8019 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.0134, allocations: 4 kB / 0.8019 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.01341, allocations: 5.344 kB / 0.8019 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.01352, allocations: 63.91 kB / 0.802 GB, free: 13 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.01352, allocations: 7.938 kB / 0.802 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.84e-05/0.01358, allocations: 24.75 kB / 0.802 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.01359, allocations: 8 kB / 0.802 GB, free: 12.96 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 7.812e-05/0.01367, allocations: 185 kB / 0.8022 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.0137, allocations: 16.38 kB / 0.8022 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.01386, allocations: 132.8 kB / 0.8023 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.01387, allocations: 11.98 kB / 0.8023 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.01387, allocations: 3.984 kB / 0.8023 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01387, allocations: 0 / 0.8023 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.014, allocations: 145.1 kB / 0.8025 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.014, allocations: 0 / 0.8025 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.773e-05/0.01405, allocations: 35.92 kB / 0.8025 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01406, allocations: 0 / 0.8025 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.01406, allocations: 0 / 0.8025 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01406, allocations: 4 kB / 0.8025 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01406, allocations: 0 / 0.8025 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.01421, allocations: 255.7 kB / 0.8028 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.01425, allocations: 35.81 kB / 0.8028 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.01426, allocations: 4 kB / 0.8028 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.681e-05/0.01433, allocations: 7.984 kB / 0.8028 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.01436, allocations: 19.97 kB / 0.8028 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.01437, allocations: 12 kB / 0.8028 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.6e-05/0.01441, allocations: 151.2 kB / 0.803 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01441, allocations: 0 / 0.803 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000239/0.01465, allocations: 75.86 kB / 0.8031 GB, free: 11.83 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.0002049/0.01486, allocations: 183 kB / 0.8032 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.01498, allocations: 103.4 kB / 0.8033 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01498, allocations: 0 / 0.8033 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 3.303e-05/0.01502, allocations: 53.92 kB / 0.8034 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.01525, allocations: 44.83 kB / 0.8034 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005959/0.01585, allocations: 315.2 kB / 0.8037 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.01588, allocations: 68 kB / 0.8038 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.924e-05/0.01597, allocations: 41.41 kB / 0.8038 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.01613, allocations: 162 kB / 0.804 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of SimCode: time 6.51e-07/0.01613, allocations: 0 / 0.804 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of Templates: time 0.004953/0.02108, allocations: 3.451 MB / 0.8074 GB, free: 7.414 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.928280313964933]