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.001456/0.001456, allocations: 79.73 kB / 20.98 MB, free: 3.555 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.001703/0.001703, allocations: 165 kB / 24.28 MB, free: 264 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 1.01/1.01, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.754/1.754, allocations: 359 MB / 0.6055 GB, free: 11.01 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.663e-06/1.663e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/2.977e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005498/0.005528, allocations: 4.864 MB / 0.7919 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002365/0.007892, allocations: 2.82 MB / 0.7946 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.008026, allocations: 0 / 0.7946 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.008336, allocations: 43.69 kB / 0.7947 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.008618, allocations: 110 kB / 0.7948 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.009805, allocations: 0.5347 MB / 0.7953 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.01008, allocations: 244.3 kB / 0.7955 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.249e-05/0.01013, allocations: 5.812 kB / 0.7955 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.01037, allocations: 156.4 kB / 0.7957 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.01049, allocations: 76.64 kB / 0.7957 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.01052, allocations: 8 kB / 0.7958 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006086/0.01113, allocations: 326.8 kB / 0.7961 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.927e-05/0.01122, allocations: 39.89 kB / 0.7961 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.65e-05/0.01129, allocations: 63.83 kB / 0.7962 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005729/0.01187, allocations: 358.9 kB / 0.7965 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.01187, allocations: 0 / 0.7965 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.292e-06/0.01187, allocations: 0 / 0.7965 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.01188, allocations: 0 / 0.7965 GB, free: 3.164 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.0006927/0.01257, allocations: 0.5388 MB / 0.797 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.01261, allocations: 8.031 kB / 0.797 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.01279, allocations: 45.94 kB / 0.7971 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.013, allocations: 164.3 kB / 0.7972 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.01301, allocations: 12.7 kB / 0.7973 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.01303, allocations: 17.41 kB / 0.7973 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.01338, allocations: 438.1 kB / 0.7977 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.01338, allocations: 192 / 0.7977 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.01341, allocations: 17.25 kB / 0.7977 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/0.01345, allocations: 7.984 kB / 0.7977 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.0137, allocations: 288.6 kB / 0.798 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008929/0.01459, allocations: 0.9999 MB / 0.799 GB, free: 464 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.01483, allocations: 139.6 kB / 0.7991 GB, free: 316 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.438e-05/0.0149, allocations: 49.02 kB / 0.7991 GB, free: 264 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005684/0.01547, allocations: 0.5249 MB / 0.7997 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.01549, allocations: 41.39 kB / 0.7997 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/0.0155, allocations: 0.6875 kB / 0.7997 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0002593/0.01575, allocations: 129.3 kB / 0.7998 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.01579, allocations: 59.34 kB / 0.7999 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.0159, allocations: 218.9 kB / 0.8001 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.01592, allocations: 29.7 kB / 0.8001 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.087e-05/0.016, allocations: 198.7 kB / 0.8003 GB, free: 15 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.01603, allocations: 48.25 kB / 0.8004 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.01608, allocations: 59.36 kB / 0.8004 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.01619, allocations: 0.5 MB / 0.8009 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.606e-05/0.01624, allocations: 27.97 kB / 0.8009 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.01634, allocations: 174.9 kB / 0.8011 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.01652, allocations: 230.8 kB / 0.8013 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01652, allocations: 0 / 0.8013 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002286/0.01675, allocations: 209.2 kB / 0.8015 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.01677, allocations: 4 kB / 0.8015 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.01677, allocations: 4 kB / 0.8015 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.01679, allocations: 4 kB / 0.8015 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.01692, allocations: 63.91 kB / 0.8016 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.01692, allocations: 4 kB / 0.8016 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.821e-05/0.01699, allocations: 28.19 kB / 0.8016 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.01701, allocations: 16 kB / 0.8016 GB, free: 13.48 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 9.643e-05/0.0171, allocations: 184.3 kB / 0.8018 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.01714, allocations: 27.89 kB / 0.8018 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.01736, allocations: 140.7 kB / 0.802 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.01737, allocations: 0 / 0.802 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01738, allocations: 0 / 0.802 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.01738, allocations: 4 kB / 0.802 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.01753, allocations: 160.5 kB / 0.8021 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01753, allocations: 0 / 0.8021 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.641e-05/0.0176, allocations: 27.98 kB / 0.8021 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.0176, allocations: 7.938 kB / 0.8022 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.01762, allocations: 15.98 kB / 0.8022 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01762, allocations: 3.984 kB / 0.8022 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01762, allocations: 0 / 0.8022 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.0178, allocations: 255.8 kB / 0.8024 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.01785, allocations: 35.88 kB / 0.8025 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.01786, allocations: 0 / 0.8025 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.429e-05/0.01796, allocations: 15.98 kB / 0.8025 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.01798, allocations: 11.92 kB / 0.8025 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.018, allocations: 8 kB / 0.8025 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 5.931e-05/0.01806, allocations: 157.5 kB / 0.8026 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01806, allocations: 0 / 0.8026 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003053/0.01836, allocations: 87.8 kB / 0.8027 GB, free: 12.3 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.0002777/0.01864, allocations: 175 kB / 0.8029 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001862/0.01883, allocations: 117.8 kB / 0.803 GB, free: 12 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01883, allocations: 0 / 0.803 GB, free: 12 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 4.626e-05/0.01887, allocations: 47.59 kB / 0.803 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.01916, allocations: 48.66 kB / 0.8031 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000845/0.02, allocations: 319.2 kB / 0.8034 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.354e-05/0.02004, allocations: 68 kB / 0.8035 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00012/0.02016, allocations: 49.31 kB / 0.8035 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.0202, allocations: 24.5 kB / 0.8035 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of SimCode: time 1.263e-06/0.0202, allocations: 0 / 0.8035 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of Templates: time 0.005205/0.02541, allocations: 3.157 MB / 0.8066 GB, free: 8.316 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.153111824998632]