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.001392/0.001392, allocations: 81.95 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.0009409/0.0009409, allocations: 181.3 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.9517/0.9517, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.742/1.742, allocations: 359 MB / 0.6055 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.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: 7.938 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.971e-05, allocations: 8.781 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003482/0.003502, allocations: 3.431 MB / 0.7909 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 6.848e-05/0.00357, allocations: 56.8 kB / 0.791 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.256e-05/0.003593, allocations: 1.594 kB / 0.791 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.335e-05/0.003686, allocations: 7.938 kB / 0.791 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.231e-05/0.003748, allocations: 3.984 kB / 0.791 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.004182, allocations: 231.3 kB / 0.7912 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.687e-05/0.004249, allocations: 39.84 kB / 0.7912 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.038e-05/0.004279, allocations: 0 / 0.7912 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.283e-05/0.004332, allocations: 19.92 kB / 0.7913 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.197e-05/0.004394, allocations: 11.97 kB / 0.7913 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.004404, allocations: 4 kB / 0.7913 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.00461, allocations: 144.2 kB / 0.7914 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.753e-05/0.004647, allocations: 4 kB / 0.7914 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.498e-05/0.004662, allocations: 9.656 kB / 0.7914 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.004835, allocations: 135.6 kB / 0.7915 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004837, allocations: 0 / 0.7915 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004837, allocations: 0 / 0.7915 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.795e-06/0.00484, allocations: 0 / 0.7915 GB, free: 8.117 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.000278/0.005118, allocations: 369.5 kB / 0.7919 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.005152, allocations: 12.03 kB / 0.7919 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.005178, allocations: 5.234 kB / 0.7919 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.483e-05/0.005242, allocations: 110.4 kB / 0.792 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.85e-05/0.005291, allocations: 55.95 kB / 0.7921 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.0053, allocations: 8.312 kB / 0.7921 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.893e-05/0.005389, allocations: 80.64 kB / 0.7922 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.005395, allocations: 1.375 kB / 0.7922 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.005406, allocations: 3.938 kB / 0.7922 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.005424, allocations: 7.984 kB / 0.7922 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.545e-05/0.00544, allocations: 5.75 kB / 0.7922 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.005748, allocations: 276.4 kB / 0.7924 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 2.748e-05/0.005776, allocations: 27 kB / 0.7925 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.355e-06/0.005784, allocations: 7.688 kB / 0.7925 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.462e-05/0.005839, allocations: 45.84 kB / 0.7925 GB, free: 7 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.005859, allocations: 37.33 kB / 0.7926 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.00586, allocations: 0 / 0.7926 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 8.969e-05/0.00595, allocations: 37.64 kB / 0.7926 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.005972, allocations: 52.12 kB / 0.7926 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.513e-05/0.006037, allocations: 161.9 kB / 0.7928 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.006046, allocations: 26.23 kB / 0.7928 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.006089, allocations: 135.5 kB / 0.7929 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-06/0.006094, allocations: 7.953 kB / 0.793 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.006118, allocations: 27.88 kB / 0.793 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.00622, allocations: 492.1 kB / 0.7935 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-06/0.006226, allocations: 5.344 kB / 0.7935 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.53e-05/0.006241, allocations: 19.36 kB / 0.7935 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.223e-05/0.006263, allocations: 23.91 kB / 0.7935 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.006265, allocations: 1.375 kB / 0.7935 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.548e-05/0.00631, allocations: 49.58 kB / 0.7935 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.679e-06/0.00632, allocations: 9.141 kB / 0.7936 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.006323, allocations: 0 / 0.7936 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.006333, allocations: 4 kB / 0.7936 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.59e-05/0.006359, allocations: 4.812 kB / 0.7936 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.006362, allocations: 0 / 0.7936 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.03e-05/0.006372, allocations: 3.938 kB / 0.7936 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.006379, allocations: 4.938 kB / 0.7936 GB, free: 5.828 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.22e-05/0.006431, allocations: 152.6 kB / 0.7937 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.006449, allocations: 17.23 kB / 0.7937 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.699e-05/0.006536, allocations: 171.7 kB / 0.7939 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.326e-05/0.00659, allocations: 268.7 kB / 0.7942 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.206e-05/0.006642, allocations: 268.1 kB / 0.7944 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.406e-05/0.006696, allocations: 274 kB / 0.7947 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.006841, allocations: 484.5 kB / 0.7951 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-05/0.006871, allocations: 148.9 kB / 0.7953 GB, free: 4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.0069, allocations: 148.8 kB / 0.7954 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.055e-05/0.006951, allocations: 264.1 kB / 0.7957 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.636e-05/0.007007, allocations: 272.9 kB / 0.7959 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.314e-05/0.007061, allocations: 272 kB / 0.7962 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002841/0.007345, allocations: 267.5 kB / 0.7964 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.007451, allocations: 448 kB / 0.7969 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.007486, allocations: 148.9 kB / 0.797 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.016e-05/0.007546, allocations: 276 kB / 0.7973 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/0.00763, allocations: 148.8 kB / 0.7974 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.007684, allocations: 272.3 kB / 0.7977 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.007713, allocations: 149.2 kB / 0.7978 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.247e-05/0.007745, allocations: 127.2 kB / 0.7979 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007745, allocations: 0 / 0.7979 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001752/0.00792, allocations: 39.81 kB / 0.798 GB, free: 1.133 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.0001835/0.008104, allocations: 285.3 kB / 0.7983 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.581e-05/0.008159, allocations: 20.78 kB / 0.7983 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.008161, allocations: 0 / 0.7983 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.008162, allocations: 4.594 kB / 0.7983 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.008459, allocations: 0.7106 MB / 0.799 GB, free: 112 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.008768, allocations: 237.5 kB / 0.7992 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.786e-05/0.008796, allocations: 55.36 kB / 0.7993 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.279e-05/0.008819, allocations: 6.75 kB / 0.7993 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.008876, allocations: 82.17 kB / 0.7993 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of SimCode: time 6.51e-07/0.008877, allocations: 0 / 0.7993 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of Templates: time 0.002464/0.01134, allocations: 1.342 MB / 0.8006 GB, free: 14.4 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.696124981157482]