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.001232/0.001232, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.004486/0.004486, allocations: 166 kB / 24.87 MB, free: 9.258 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.073/1.073, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.768/1.768, allocations: 359 MB / 0.6063 GB, free: 10.88 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.603e-06/1.603e-06, allocations: 0.6562 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.468e-05, allocations: 3.562 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005522/0.005547, allocations: 4.85 MB / 0.7931 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002242/0.007789, allocations: 2.813 MB / 0.7958 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.007907, allocations: 0 / 0.7958 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.008196, allocations: 52.11 kB / 0.7959 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.008468, allocations: 113.2 kB / 0.796 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.009728, allocations: 0.5623 MB / 0.7965 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.009992, allocations: 251.8 kB / 0.7968 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.01004, allocations: 9.75 kB / 0.7968 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.01025, allocations: 159.6 kB / 0.7969 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.01037, allocations: 79.77 kB / 0.797 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.0104, allocations: 9.781 kB / 0.797 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005341/0.01093, allocations: 331.1 kB / 0.7973 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.183e-05/0.011, allocations: 35.91 kB / 0.7973 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.301e-05/0.01106, allocations: 67.81 kB / 0.7974 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004958/0.01156, allocations: 363.4 kB / 0.7978 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.01156, allocations: 0 / 0.7978 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.212e-06/0.01157, allocations: 0.5625 kB / 0.7978 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.01157, allocations: 1.719 kB / 0.7978 GB, free: 2.531 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.0006239/0.01219, allocations: 0.531 MB / 0.7983 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.01223, allocations: 12.03 kB / 0.7983 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.01238, allocations: 45.39 kB / 0.7983 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.01257, allocations: 160.3 kB / 0.7985 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.01258, allocations: 9.359 kB / 0.7985 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.0126, allocations: 24.38 kB / 0.7985 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.01288, allocations: 419.2 kB / 0.7989 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.01289, allocations: 192 / 0.7989 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.0129, allocations: 12.12 kB / 0.7989 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/0.01294, allocations: 8.656 kB / 0.7989 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.01315, allocations: 257.3 kB / 0.7992 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.01422, allocations: 0.9717 MB / 0.8001 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.01441, allocations: 122 kB / 0.8003 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.608e-05/0.01446, allocations: 43.7 kB / 0.8003 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004958/0.01495, allocations: 0.5347 MB / 0.8008 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.01498, allocations: 37.39 kB / 0.8009 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 2.294e-06/0.01498, allocations: 1.219 kB / 0.8009 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0002117/0.01519, allocations: 113.5 kB / 0.801 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.01522, allocations: 55.41 kB / 0.801 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.01533, allocations: 224.3 kB / 0.8012 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.01534, allocations: 30.73 kB / 0.8013 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/0.01543, allocations: 194.8 kB / 0.8014 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.01546, allocations: 56.64 kB / 0.8015 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.01552, allocations: 51.34 kB / 0.8015 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.01563, allocations: 0.5039 MB / 0.802 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.092e-05/0.01566, allocations: 29 kB / 0.8021 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.433e-05/0.01576, allocations: 170.9 kB / 0.8022 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.01592, allocations: 217.8 kB / 0.8024 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01592, allocations: 0 / 0.8024 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000203/0.01612, allocations: 201.1 kB / 0.8026 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.01614, allocations: 8.625 kB / 0.8026 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.01615, allocations: 4 kB / 0.8026 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.01616, allocations: 4 kB / 0.8026 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.01629, allocations: 60.38 kB / 0.8027 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.01629, allocations: 11.94 kB / 0.8027 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.888e-05/0.01635, allocations: 23.84 kB / 0.8027 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.01637, allocations: 16 kB / 0.8028 GB, free: 13 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.207e-05/0.01646, allocations: 172.4 kB / 0.8029 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.0165, allocations: 23.91 kB / 0.8029 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.0167, allocations: 148.9 kB / 0.8031 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.01671, allocations: 0 / 0.8031 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.01671, allocations: 0 / 0.8031 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01671, allocations: 4 kB / 0.8031 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.01686, allocations: 141.1 kB / 0.8032 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01686, allocations: 0 / 0.8032 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.614e-05/0.01692, allocations: 31.92 kB / 0.8032 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01693, allocations: 0 / 0.8032 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.01693, allocations: 8 kB / 0.8033 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01694, allocations: 0 / 0.8033 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01694, allocations: 0 / 0.8033 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.01711, allocations: 259.7 kB / 0.8035 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.01716, allocations: 31.81 kB / 0.8035 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.01717, allocations: 0 / 0.8035 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.744e-05/0.01726, allocations: 15.98 kB / 0.8035 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.01728, allocations: 11.98 kB / 0.8036 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.01729, allocations: 8 kB / 0.8036 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 5.933e-05/0.01735, allocations: 155.1 kB / 0.8037 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.01e-07/0.01735, allocations: 0 / 0.8037 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002877/0.01764, allocations: 83.86 kB / 0.8038 GB, free: 11.87 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.0002669/0.0179, allocations: 175 kB / 0.804 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00015/0.01805, allocations: 108.2 kB / 0.8041 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01806, allocations: 0 / 0.8041 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 3.342e-05/0.01809, allocations: 46.12 kB / 0.8041 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.01836, allocations: 47.91 kB / 0.8042 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006801/0.01904, allocations: 323.1 kB / 0.8045 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.11e-05/0.01908, allocations: 68 kB / 0.8045 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.981e-05/0.01918, allocations: 41.41 kB / 0.8046 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.01936, allocations: 158 kB / 0.8047 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of SimCode: time 1.232e-06/0.01936, allocations: 0 / 0.8047 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of Templates: time 0.005526/0.02488, allocations: 3.484 MB / 0.8081 GB, free: 7.445 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.181354739237577]