Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.0009499/0.0009499, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001014/0.001014, allocations: 169 kB / 24.28 MB, free: 280 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.03/1.03, allocations: 177.1 MB / 204.6 MB, free: 5.664 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.788/1.788, allocations: 359 MB / 0.6055 GB, free: 10.99 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.364e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004993/0.005027, allocations: 3.434 MB / 0.7904 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000103/0.00513, allocations: 53.83 kB / 0.7905 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.352e-05/0.005163, allocations: 0 / 0.7905 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.005299, allocations: 7.922 kB / 0.7905 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.0054, allocations: 7.938 kB / 0.7905 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006072/0.006008, allocations: 202.2 kB / 0.7907 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.00611, allocations: 35.84 kB / 0.7907 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.006153, allocations: 0.625 kB / 0.7907 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.678e-05/0.00624, allocations: 23.92 kB / 0.7908 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.006357, allocations: 16.69 kB / 0.7908 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.00638, allocations: 0 / 0.7908 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.0067, allocations: 137.1 kB / 0.7909 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.853e-05/0.006779, allocations: 7.984 kB / 0.7909 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.006816, allocations: 8 kB / 0.7909 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.007146, allocations: 131.6 kB / 0.7911 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.007153, allocations: 1.281 kB / 0.7911 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.364e-06/0.007155, allocations: 0 / 0.7911 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.007164, allocations: 0 / 0.7911 GB, free: 8.738 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.0005987/0.007763, allocations: 373.8 kB / 0.7914 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.007816, allocations: 12.03 kB / 0.7914 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.007886, allocations: 1.281 kB / 0.7914 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.008016, allocations: 112.6 kB / 0.7915 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.00812, allocations: 61.03 kB / 0.7916 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.008135, allocations: 4.375 kB / 0.7916 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.008311, allocations: 79.78 kB / 0.7917 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003376/0.008649, allocations: 7.875 kB / 0.7917 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.008662, allocations: 0 / 0.7917 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.193e-05/0.008694, allocations: 4 kB / 0.7917 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.328e-05/0.008727, allocations: 7.984 kB / 0.7917 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005344/0.009262, allocations: 291.8 kB / 0.792 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.628e-05/0.009308, allocations: 34.94 kB / 0.792 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.009327, allocations: 7.688 kB / 0.792 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.637e-05/0.009403, allocations: 40.5 kB / 0.792 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.00943, allocations: 33.95 kB / 0.7921 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.804e-06/0.009432, allocations: 0 / 0.7921 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.000151/0.009583, allocations: 39.36 kB / 0.7921 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.009615, allocations: 55.39 kB / 0.7922 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.883e-05/0.009704, allocations: 161.9 kB / 0.7923 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.009717, allocations: 25.7 kB / 0.7923 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.009767, allocations: 131.4 kB / 0.7925 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/0.009776, allocations: 17.3 kB / 0.7925 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.009807, allocations: 19.38 kB / 0.7925 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.009931, allocations: 496.1 kB / 0.793 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.009945, allocations: 4 kB / 0.793 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.376e-05/0.009969, allocations: 24.52 kB / 0.793 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.338e-05/0.01, allocations: 24.28 kB / 0.793 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01001, allocations: 4 kB / 0.793 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.805e-05/0.01007, allocations: 51.34 kB / 0.7931 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.01009, allocations: 4 kB / 0.7931 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01009, allocations: 0 / 0.7931 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.01011, allocations: 0 / 0.7931 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.056e-05/0.01016, allocations: 10.22 kB / 0.7931 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.01017, allocations: 3.938 kB / 0.7931 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.352e-05/0.01018, allocations: 0 / 0.7931 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.01019, allocations: 4 kB / 0.7931 GB, free: 6.414 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 7.105e-05/0.01026, allocations: 160.5 kB / 0.7933 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.01028, allocations: 8.391 kB / 0.7933 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.0104, allocations: 167.2 kB / 0.7934 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.81e-05/0.01047, allocations: 272.3 kB / 0.7937 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-05/0.01053, allocations: 268.1 kB / 0.7939 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.334e-05/0.01059, allocations: 268.1 kB / 0.7942 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.01077, allocations: 499.8 kB / 0.7947 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.07e-05/0.01081, allocations: 152.9 kB / 0.7948 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.143e-05/0.01087, allocations: 156.8 kB / 0.795 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-05/0.01094, allocations: 264.1 kB / 0.7952 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.783e-05/0.01102, allocations: 268.1 kB / 0.7955 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.67e-05/0.01111, allocations: 268.5 kB / 0.7957 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.129e-05/0.01118, allocations: 264.6 kB / 0.796 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.01136, allocations: 452 kB / 0.7964 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.01141, allocations: 153.3 kB / 0.7966 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.537e-05/0.0115, allocations: 272.6 kB / 0.7968 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.01162, allocations: 152.9 kB / 0.797 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-05/0.0117, allocations: 273.4 kB / 0.7972 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.01174, allocations: 149.2 kB / 0.7974 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.962e-05/0.01179, allocations: 123.2 kB / 0.7975 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01179, allocations: 0.625 kB / 0.7975 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002312/0.01202, allocations: 43.8 kB / 0.7975 GB, free: 1.691 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.0002957/0.01231, allocations: 276.9 kB / 0.7978 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.208e-05/0.01241, allocations: 24.55 kB / 0.7978 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01241, allocations: 0 / 0.7978 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.01241, allocations: 1.344 kB / 0.7978 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.01279, allocations: 0.7062 MB / 0.7985 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/0.01332, allocations: 248.6 kB / 0.7987 GB, free: 420 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.989e-05/0.01336, allocations: 51.36 kB / 0.7988 GB, free: 348 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.169e-05/0.01341, allocations: 11.92 kB / 0.7988 GB, free: 336 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.01343, allocations: 8.5 kB / 0.7988 GB, free: 328 kB / 0.7448 GB Notification: Performance of SimCode: time 1.103e-06/0.01343, allocations: 7.031 kB / 0.7988 GB, free: 324 kB / 0.7448 GB Notification: Performance of Templates: time 0.003806/0.01724, allocations: 1.293 MB / 0.8001 GB, free: 15.09 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.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.111727199051529]