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.001073/0.001073, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001491/0.001491, allocations: 161 kB / 23.82 MB, free: 0.75 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.008/1.008, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.95/1.95, allocations: 359 MB / 0.6052 GB, free: 10.98 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.[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.403e-06/1.403e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.27e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004666/0.004689, allocations: 4.879 MB / 0.7919 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.006709, allocations: 2.836 MB / 0.7946 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.868e-05/0.006797, allocations: 4.812 kB / 0.7946 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.007079, allocations: 47.62 kB / 0.7947 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.007317, allocations: 101.1 kB / 0.7948 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009903/0.008308, allocations: 0.5731 MB / 0.7953 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.008675, allocations: 251.8 kB / 0.7956 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.008718, allocations: 5.812 kB / 0.7956 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.008943, allocations: 160.4 kB / 0.7957 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.00906, allocations: 76.7 kB / 0.7958 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.009083, allocations: 8 kB / 0.7958 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004815/0.009564, allocations: 336.4 kB / 0.7961 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.212e-05/0.009636, allocations: 39.84 kB / 0.7962 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.776e-05/0.009704, allocations: 63.88 kB / 0.7962 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004639/0.01017, allocations: 362.8 kB / 0.7966 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.01017, allocations: 0.8125 kB / 0.7966 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.533e-06/0.01017, allocations: 0 / 0.7966 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.01018, allocations: 5.969 kB / 0.7966 GB, free: 2.734 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.0006195/0.0108, allocations: 0.5233 MB / 0.7971 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.01084, allocations: 8.031 kB / 0.7971 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.011, allocations: 48.7 kB / 0.7972 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.01118, allocations: 169 kB / 0.7973 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.0112, allocations: 12.7 kB / 0.7973 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.01123, allocations: 19.81 kB / 0.7974 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.01153, allocations: 434.1 kB / 0.7978 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.01154, allocations: 4.188 kB / 0.7978 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.01157, allocations: 16.12 kB / 0.7978 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-05/0.0116, allocations: 7.984 kB / 0.7978 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.01185, allocations: 291.5 kB / 0.7981 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008568/0.01271, allocations: 0.9955 MB / 0.799 GB, free: 32 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.01296, allocations: 136.4 kB / 0.7992 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.251e-05/0.01302, allocations: 48.22 kB / 0.7992 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005067/0.01353, allocations: 0.5361 MB / 0.7997 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.01356, allocations: 37.92 kB / 0.7998 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.01356, allocations: 0.5625 kB / 0.7998 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0002453/0.0138, allocations: 133.4 kB / 0.7999 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.01383, allocations: 55.41 kB / 0.8 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.01394, allocations: 220.8 kB / 0.8002 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.01395, allocations: 25.7 kB / 0.8002 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.01402, allocations: 197.3 kB / 0.8004 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.01405, allocations: 55.53 kB / 0.8004 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/0.0141, allocations: 59.34 kB / 0.8005 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.01421, allocations: 0.5 MB / 0.801 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.866e-05/0.01425, allocations: 19.98 kB / 0.801 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.01436, allocations: 178.9 kB / 0.8012 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.01452, allocations: 227.7 kB / 0.8014 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.01453, allocations: 1.094 kB / 0.8014 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000227/0.01475, allocations: 211.4 kB / 0.8016 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.01477, allocations: 9.312 kB / 0.8016 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.01478, allocations: 4 kB / 0.8016 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.01479, allocations: 4 kB / 0.8016 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.01492, allocations: 64.78 kB / 0.8017 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.01492, allocations: 4 kB / 0.8017 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/0.01498, allocations: 20.31 kB / 0.8017 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.015, allocations: 23.94 kB / 0.8017 GB, free: 13.07 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.974e-05/0.01508, allocations: 176.4 kB / 0.8019 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.01511, allocations: 19.91 kB / 0.8019 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.01533, allocations: 140.7 kB / 0.802 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.01534, allocations: 0 / 0.802 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01534, allocations: 0 / 0.802 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01535, allocations: 3.984 kB / 0.802 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.0155, allocations: 168.5 kB / 0.8022 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.0155, allocations: 0 / 0.8022 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.008e-05/0.01557, allocations: 39.86 kB / 0.8022 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01557, allocations: 4 kB / 0.8022 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.01558, allocations: 4 kB / 0.8022 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01558, allocations: 4 kB / 0.8023 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01558, allocations: 0 / 0.8023 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.01593, allocations: 255.8 kB / 0.8025 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.01598, allocations: 39.8 kB / 0.8025 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.01599, allocations: 4 kB / 0.8025 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/0.01608, allocations: 4 kB / 0.8025 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.0161, allocations: 15.98 kB / 0.8026 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.01611, allocations: 11.97 kB / 0.8026 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 5.891e-05/0.01617, allocations: 159.2 kB / 0.8027 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01617, allocations: 0 / 0.8027 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002741/0.01645, allocations: 79.81 kB / 0.8028 GB, free: 11.89 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.0002574/0.0167, allocations: 184.2 kB / 0.803 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.01687, allocations: 113.6 kB / 0.8031 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.01688, allocations: 4.938 kB / 0.8031 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 4.125e-05/0.01692, allocations: 43.61 kB / 0.8031 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.01719, allocations: 51.89 kB / 0.8032 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000776/0.01797, allocations: 307.2 kB / 0.8035 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.35e-05/0.01801, allocations: 71.98 kB / 0.8035 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.01811, allocations: 41.41 kB / 0.8036 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.01815, allocations: 32.5 kB / 0.8036 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of SimCode: time 9.21e-07/0.01815, allocations: 0 / 0.8036 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of Templates: time 0.00493/0.02308, allocations: 3.061 MB / 0.8066 GB, free: 8.008 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: 5.335177935194224]