Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001229/0.001229, 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.001029/0.001029, allocations: 181 kB / 24.09 MB, free: 416 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.9831/0.9831, 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.756/1.756, allocations: 359 MB / 0.6055 GB, free: 10.87 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.304e-05, allocations: 6.312 kB / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003948/0.003971, allocations: 4.142 MB / 0.7916 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001367/0.004107, allocations: 160.5 kB / 0.7917 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.429e-05/0.004132, allocations: 5.562 kB / 0.7917 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.004235, allocations: 0 / 0.7917 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.713e-05/0.004312, allocations: 15.91 kB / 0.7917 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.004582, allocations: 88.81 kB / 0.7918 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.104e-05/0.004653, allocations: 32.64 kB / 0.7919 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.353e-05/0.004686, allocations: 3.984 kB / 0.7919 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.092e-05/0.004737, allocations: 25.09 kB / 0.7919 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.499e-05/0.004802, allocations: 11.92 kB / 0.7919 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.004815, allocations: 4 kB / 0.7919 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.004952, allocations: 57.19 kB / 0.792 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.095e-05/0.004993, allocations: 11.92 kB / 0.792 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.376e-05/0.005007, allocations: 7.984 kB / 0.792 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.005117, allocations: 65.77 kB / 0.792 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.00512, allocations: 0 / 0.792 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.202e-06/0.005121, allocations: 0 / 0.792 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.815e-06/0.005124, allocations: 0 / 0.792 GB, free: 7.602 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000297/0.005421, allocations: 356.2 kB / 0.7924 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.005457, allocations: 13.56 kB / 0.7924 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.00549, allocations: 9.234 kB / 0.7924 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.74e-05/0.005558, allocations: 112.6 kB / 0.7925 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.005605, allocations: 54 kB / 0.7926 GB, free: 7 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.005614, allocations: 4.375 kB / 0.7926 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.847e-05/0.005713, allocations: 76.64 kB / 0.7926 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.005719, allocations: 192 / 0.7926 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.005727, allocations: 7.922 kB / 0.7926 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.005745, allocations: 4 kB / 0.7926 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.548e-05/0.00576, allocations: 6.312 kB / 0.7927 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.006023, allocations: 236.5 kB / 0.7929 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 2.946e-05/0.006053, allocations: 31 kB / 0.7929 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.636e-06/0.006062, allocations: 7.688 kB / 0.7929 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.006098, allocations: 12.55 kB / 0.7929 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.006118, allocations: 37.33 kB / 0.793 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.006119, allocations: 0.5312 kB / 0.793 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 9.551e-05/0.006214, allocations: 39.58 kB / 0.793 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.006237, allocations: 55.41 kB / 0.7931 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.746e-05/0.006305, allocations: 161.9 kB / 0.7932 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.006315, allocations: 25.7 kB / 0.7932 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.006368, allocations: 141.3 kB / 0.7934 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.808e-06/0.006372, allocations: 3.953 kB / 0.7934 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.006397, allocations: 23.36 kB / 0.7934 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.006501, allocations: 496.1 kB / 0.7939 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.495e-06/0.006509, allocations: 4 kB / 0.7939 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.591e-05/0.006525, allocations: 19.38 kB / 0.7939 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.595e-05/0.006551, allocations: 31.89 kB / 0.7939 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006552, allocations: 4.656 kB / 0.7939 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.771e-05/0.0066, allocations: 42.61 kB / 0.794 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.006611, allocations: 5.562 kB / 0.794 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.006615, allocations: 0.7188 kB / 0.794 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.006625, allocations: 4 kB / 0.794 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.136e-05/0.006657, allocations: 13.05 kB / 0.794 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.00666, allocations: 3.938 kB / 0.794 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.17e-05/0.006672, allocations: 0 / 0.794 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.006678, allocations: 8.781 kB / 0.794 GB, free: 5.379 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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 5.938e-05/0.006738, allocations: 152.6 kB / 0.7941 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.006753, allocations: 13.39 kB / 0.7942 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.007041, allocations: 167.8 kB / 0.7943 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.637e-05/0.007097, allocations: 268.3 kB / 0.7946 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-05/0.007147, allocations: 269.1 kB / 0.7948 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.936e-05/0.007196, allocations: 268.1 kB / 0.7951 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.007352, allocations: 488.4 kB / 0.7955 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.408e-05/0.007386, allocations: 150 kB / 0.7957 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.007421, allocations: 148.8 kB / 0.7958 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.692e-05/0.007478, allocations: 264.1 kB / 0.7961 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.331e-05/0.007531, allocations: 269.4 kB / 0.7963 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.579e-05/0.007587, allocations: 279.9 kB / 0.7966 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-05/0.007639, allocations: 264.1 kB / 0.7969 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.007753, allocations: 445.8 kB / 0.7973 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.007788, allocations: 148.8 kB / 0.7974 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.007846, allocations: 276.1 kB / 0.7977 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.007938, allocations: 148.8 kB / 0.7978 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.008001, allocations: 276 kB / 0.7981 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.008045, allocations: 146 kB / 0.7982 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.142e-05/0.008086, allocations: 131.2 kB / 0.7984 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008086, allocations: 0 / 0.7984 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00015/0.008236, allocations: 17.03 kB / 0.7984 GB, free: 0.7148 MB / 0.7448 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0001494/0.008386, allocations: 238.3 kB / 0.7986 GB, free: 484 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.004e-05/0.008446, allocations: 20.27 kB / 0.7986 GB, free: 460 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.00845, allocations: 4.781 kB / 0.7986 GB, free: 456 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.00845, allocations: 0 / 0.7986 GB, free: 456 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.008771, allocations: 0.7132 MB / 0.7993 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.009195, allocations: 229.6 kB / 0.7995 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.082e-05/0.009236, allocations: 59.34 kB / 0.7996 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.332e-05/0.009269, allocations: 5.656 kB / 0.7996 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.423e-05/0.009343, allocations: 86.17 kB / 0.7997 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of SimCode: time 7.42e-07/0.009344, allocations: 0 / 0.7997 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of Templates: time 0.002441/0.01179, allocations: 0.7439 MB / 0.8004 GB, free: 14.58 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.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.871078085154295]