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.000982/0.000982, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001099/0.001099, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9985/0.9985, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.803/1.803, allocations: 359 MB / 0.6052 GB, free: 10.98 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 1.933e-06/1.933e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.177e-05, allocations: 7.531 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005622/0.005654, allocations: 3.449 MB / 0.7905 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 9.276e-05/0.005747, allocations: 45.22 kB / 0.7905 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.479e-05/0.005781, allocations: 0 / 0.7905 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.005915, allocations: 15.86 kB / 0.7905 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.968e-05/0.006005, allocations: 9.047 kB / 0.7905 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006156/0.00662, allocations: 230.2 kB / 0.7908 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.345e-05/0.006714, allocations: 27.86 kB / 0.7908 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.006754, allocations: 7.984 kB / 0.7908 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.959e-05/0.006814, allocations: 15.98 kB / 0.7908 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.118e-05/0.006895, allocations: 15.92 kB / 0.7908 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.006911, allocations: 4.641 kB / 0.7908 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.007184, allocations: 136.4 kB / 0.791 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.007239, allocations: 15.92 kB / 0.791 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.007264, allocations: 9.578 kB / 0.791 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.007493, allocations: 131.6 kB / 0.7911 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.007496, allocations: 0 / 0.7911 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.232e-06/0.007498, allocations: 0 / 0.7911 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.007503, allocations: 0 / 0.7911 GB, free: 8.352 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.000387/0.00789, allocations: 374 kB / 0.7915 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.00793, allocations: 8.031 kB / 0.7915 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/0.007985, allocations: 13.22 kB / 0.7915 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.878e-05/0.008074, allocations: 104.6 kB / 0.7916 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-05/0.00815, allocations: 62.42 kB / 0.7916 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.008162, allocations: 384 / 0.7916 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.008304, allocations: 84.59 kB / 0.7917 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.008312, allocations: 192 / 0.7917 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.008323, allocations: 3.938 kB / 0.7917 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.008351, allocations: 0 / 0.7917 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.763e-05/0.008379, allocations: 8.609 kB / 0.7917 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.008837, allocations: 288.5 kB / 0.792 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.148e-05/0.008878, allocations: 31 kB / 0.792 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.008896, allocations: 12.16 kB / 0.792 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-05/0.008965, allocations: 41.53 kB / 0.7921 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.008991, allocations: 41.39 kB / 0.7921 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 2.044e-06/0.008993, allocations: 0 / 0.7921 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001348/0.009128, allocations: 33.69 kB / 0.7922 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.009158, allocations: 51.94 kB / 0.7922 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/0.00924, allocations: 171.2 kB / 0.7924 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.00925, allocations: 25.7 kB / 0.7924 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.009297, allocations: 130.8 kB / 0.7925 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-06/0.009303, allocations: 7.953 kB / 0.7925 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.00933, allocations: 24.53 kB / 0.7926 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.009443, allocations: 492.1 kB / 0.793 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.009454, allocations: 3.984 kB / 0.793 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.784e-05/0.009482, allocations: 24.75 kB / 0.793 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.138e-05/0.009513, allocations: 23.38 kB / 0.7931 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.009514, allocations: 1.75 kB / 0.7931 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.869e-05/0.009583, allocations: 53.56 kB / 0.7931 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.009597, allocations: 5.562 kB / 0.7931 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.009604, allocations: 4.875 kB / 0.7931 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.009618, allocations: 4 kB / 0.7931 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.378e-05/0.009662, allocations: 7.469 kB / 0.7931 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.009667, allocations: 0 / 0.7931 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.009681, allocations: 3.984 kB / 0.7931 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.009693, allocations: 4 kB / 0.7932 GB, free: 6.031 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 6.8e-05/0.009761, allocations: 156.5 kB / 0.7933 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.00978, allocations: 11.89 kB / 0.7933 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.009897, allocations: 163.7 kB / 0.7935 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.214e-05/0.009959, allocations: 268.1 kB / 0.7937 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.328e-05/0.01002, allocations: 268.5 kB / 0.794 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.529e-05/0.01009, allocations: 268.1 kB / 0.7942 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.01026, allocations: 0.4939 MB / 0.7947 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-05/0.01031, allocations: 144.9 kB / 0.7949 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/0.01035, allocations: 145.2 kB / 0.795 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.565e-05/0.01041, allocations: 280 kB / 0.7953 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.754e-05/0.01047, allocations: 264.1 kB / 0.7955 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.999e-05/0.01053, allocations: 270.2 kB / 0.7958 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.139e-05/0.01059, allocations: 272.1 kB / 0.796 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.01073, allocations: 447.9 kB / 0.7965 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.01076, allocations: 156.8 kB / 0.7966 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.89e-05/0.01084, allocations: 272 kB / 0.7969 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.01095, allocations: 149.4 kB / 0.797 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.01102, allocations: 272 kB / 0.7973 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.01105, allocations: 146.1 kB / 0.7974 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.744e-05/0.0111, allocations: 135.2 kB / 0.7975 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.0111, allocations: 0.8438 kB / 0.7975 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002122/0.01131, allocations: 35.81 kB / 0.7976 GB, free: 1.312 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.0002575/0.01157, allocations: 280.9 kB / 0.7978 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.589e-05/0.01165, allocations: 21.28 kB / 0.7979 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01166, allocations: 0 / 0.7979 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.01166, allocations: 0 / 0.7979 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.0003333/0.01199, allocations: 0.7121 MB / 0.7986 GB, free: 304 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/0.01245, allocations: 237.5 kB / 0.7988 GB, free: 36 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.9e-05/0.0125, allocations: 59.28 kB / 0.7988 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.01254, allocations: 6.531 kB / 0.7988 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.01256, allocations: 12.5 kB / 0.7989 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of SimCode: time 1.072e-06/0.01256, allocations: 0 / 0.7989 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of Templates: time 0.00347/0.01603, allocations: 1.442 MB / 0.8003 GB, free: 14.55 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: 4.999559273011982]