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.001496/0.001496, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.001969/0.001969, allocations: 173 kB / 24.28 MB, free: 272 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.9837/0.9837, allocations: 177.1 MB / 204.6 MB, free: 5.652 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.812/1.812, allocations: 359 MB / 0.6055 GB, free: 11 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 2.224e-06/2.224e-06, allocations: 0 / 0.7871 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.076e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.007012/0.007043, allocations: 4.156 MB / 0.7911 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002323/0.007275, allocations: 165 kB / 0.7913 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.00731, allocations: 0 / 0.7913 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.007429, allocations: 0 / 0.7913 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.065e-05/0.007519, allocations: 16.91 kB / 0.7913 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.00792, allocations: 89.89 kB / 0.7914 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.008025, allocations: 31.84 kB / 0.7914 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.008071, allocations: 4 kB / 0.7914 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.779e-05/0.008138, allocations: 20.86 kB / 0.7914 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.03e-05/0.008219, allocations: 15.97 kB / 0.7915 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.008234, allocations: 0 / 0.7915 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.008456, allocations: 60.81 kB / 0.7915 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.008509, allocations: 3.984 kB / 0.7915 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.008536, allocations: 13 kB / 0.7915 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.008706, allocations: 67.8 kB / 0.7916 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.00871, allocations: 0 / 0.7916 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.493e-06/0.008712, allocations: 1.531 kB / 0.7916 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.008718, allocations: 0 / 0.7916 GB, free: 8.215 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.0004166/0.009134, allocations: 356.3 kB / 0.7919 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.009179, allocations: 12.03 kB / 0.7919 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.009e-05/0.009239, allocations: 5.766 kB / 0.792 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.009344, allocations: 109.2 kB / 0.7921 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.368e-05/0.009428, allocations: 55.95 kB / 0.7921 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.009442, allocations: 0.9062 kB / 0.7921 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.009607, allocations: 85.36 kB / 0.7922 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.009615, allocations: 192 / 0.7922 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.009629, allocations: 8.844 kB / 0.7922 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-05/0.009661, allocations: 7.984 kB / 0.7922 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.607e-05/0.009697, allocations: 4.531 kB / 0.7922 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.01014, allocations: 257.2 kB / 0.7925 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.601e-05/0.01018, allocations: 31.03 kB / 0.7925 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.0102, allocations: 11.62 kB / 0.7925 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.505e-05/0.01027, allocations: 9.344 kB / 0.7925 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.01029, allocations: 33.39 kB / 0.7925 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.01029, allocations: 0 / 0.7925 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001505/0.01044, allocations: 42.31 kB / 0.7926 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.01048, allocations: 52.16 kB / 0.7926 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.942e-05/0.01058, allocations: 161.9 kB / 0.7928 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.01059, allocations: 26.52 kB / 0.7928 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.01065, allocations: 146.6 kB / 0.7929 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.313e-06/0.01066, allocations: 4.891 kB / 0.793 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.0107, allocations: 23.38 kB / 0.793 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.01084, allocations: 496.1 kB / 0.7934 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.01086, allocations: 1.219 kB / 0.7934 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.783e-05/0.01088, allocations: 23.36 kB / 0.7935 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.948e-05/0.01092, allocations: 24.22 kB / 0.7935 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01092, allocations: 0 / 0.7935 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.612e-05/0.01101, allocations: 59.78 kB / 0.7936 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.01103, allocations: 4 kB / 0.7936 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01103, allocations: 0 / 0.7936 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.01105, allocations: 0 / 0.7936 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.97e-05/0.0111, allocations: 8 kB / 0.7936 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.0111, allocations: 3.094 kB / 0.7936 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.982e-05/0.01112, allocations: 0 / 0.7936 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.01113, allocations: 4 kB / 0.7936 GB, free: 5.969 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 8.002e-05/0.01121, allocations: 156.6 kB / 0.7937 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.01124, allocations: 11.83 kB / 0.7937 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.01137, allocations: 167.8 kB / 0.7939 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.601e-05/0.01144, allocations: 268.1 kB / 0.7941 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002311/0.01168, allocations: 273.3 kB / 0.7944 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.277e-05/0.01175, allocations: 264.1 kB / 0.7947 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.01196, allocations: 499.8 kB / 0.7951 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.103e-05/0.01201, allocations: 153.5 kB / 0.7953 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.945e-05/0.01205, allocations: 144.9 kB / 0.7954 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.653e-05/0.01212, allocations: 272.5 kB / 0.7957 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.893e-05/0.0122, allocations: 269.4 kB / 0.7959 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.048e-05/0.01228, allocations: 276 kB / 0.7962 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.415e-05/0.01236, allocations: 264.1 kB / 0.7965 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.01253, allocations: 448 kB / 0.7969 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.01257, allocations: 149.9 kB / 0.797 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.01268, allocations: 280 kB / 0.7973 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.01283, allocations: 149.5 kB / 0.7974 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.149e-05/0.01291, allocations: 272 kB / 0.7977 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.01295, allocations: 146.4 kB / 0.7978 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.932e-05/0.01301, allocations: 131.2 kB / 0.798 GB, free: 1.289 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01301, allocations: 3.938 kB / 0.798 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002952/0.0133, allocations: 15.94 kB / 0.798 GB, free: 1.27 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.0002231/0.01353, allocations: 238 kB / 0.7982 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.453e-05/0.01362, allocations: 19.62 kB / 0.7982 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01362, allocations: 0 / 0.7982 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.01362, allocations: 0 / 0.7982 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.01412, allocations: 0.7101 MB / 0.7989 GB, free: 300 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005694/0.01469, allocations: 230.5 kB / 0.7991 GB, free: 40 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.796e-05/0.01474, allocations: 51.47 kB / 0.7992 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.164e-05/0.0148, allocations: 14.39 kB / 0.7992 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.01482, allocations: 8.5 kB / 0.7992 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of SimCode: time 7.82e-07/0.01482, allocations: 0 / 0.7992 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of Templates: time 0.003305/0.01813, allocations: 0.6936 MB / 0.7999 GB, free: 15.27 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: 5.239085987908766]