Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001492/0.001492, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001122/0.001122, allocations: 165.4 kB / 24.17 MB, free: 332 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.9759/0.9759, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.934/1.934, allocations: 377.9 MB / 0.624 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.7601 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.272e-05, allocations: 3.031 kB / 0.7601 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.007865/0.007887, allocations: 3.523 MB / 0.7635 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 9.743e-05/0.007985, allocations: 44.94 kB / 0.7635 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.00801, allocations: 0 / 0.7635 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.008127, allocations: 12.58 kB / 0.7636 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.927e-05/0.008206, allocations: 12.83 kB / 0.7636 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.008696, allocations: 225.5 kB / 0.7638 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.669e-05/0.008773, allocations: 27.86 kB / 0.7638 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.008811, allocations: 8.516 kB / 0.7638 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.58e-05/0.008867, allocations: 16.67 kB / 0.7638 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.517e-05/0.008932, allocations: 15.92 kB / 0.7638 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.008943, allocations: 0.9375 kB / 0.7638 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002481/0.01142, allocations: 139.5 kB / 0.764 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.577e-05/0.01148, allocations: 20.84 kB / 0.764 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.0115, allocations: 4 kB / 0.764 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.01176, allocations: 132.4 kB / 0.7641 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.01176, allocations: 0 / 0.7641 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.663e-06/0.01176, allocations: 0.75 kB / 0.7641 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.01177, allocations: 0 / 0.7641 GB, free: 2.469 MB / 0.7136 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.0003139/0.01208, allocations: 253.2 kB / 0.7644 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.01211, allocations: 11.97 kB / 0.7644 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.01215, allocations: 7.125 kB / 0.7644 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.838e-05/0.01222, allocations: 102.1 kB / 0.7645 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.78e-05/0.01227, allocations: 55.97 kB / 0.7645 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.01228, allocations: 384 / 0.7645 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.01239, allocations: 79.48 kB / 0.7646 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.01239, allocations: 11.59 kB / 0.7646 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.0124, allocations: 3.938 kB / 0.7646 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.01242, allocations: 0 / 0.7646 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.886e-05/0.01244, allocations: 4 kB / 0.7646 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.01278, allocations: 201.8 kB / 0.7648 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.119e-05/0.01281, allocations: 18.58 kB / 0.7648 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.146e-05/0.01282, allocations: 4.906 kB / 0.7649 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.547e-05/0.01288, allocations: 35.97 kB / 0.7649 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.0129, allocations: 53.33 kB / 0.7649 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.01291, allocations: 0 / 0.7649 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001021/0.01301, allocations: 33.64 kB / 0.765 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.01303, allocations: 51.41 kB / 0.765 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.168e-05/0.01309, allocations: 110.7 kB / 0.7651 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.0131, allocations: 25.7 kB / 0.7651 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.01314, allocations: 84.09 kB / 0.7652 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-06/0.01314, allocations: 5.578 kB / 0.7652 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.01317, allocations: 21.72 kB / 0.7653 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.074e-05/0.01325, allocations: 318.8 kB / 0.7656 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.74e-06/0.01325, allocations: 0 / 0.7656 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/0.01327, allocations: 16.47 kB / 0.7656 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.722e-05/0.01329, allocations: 20.52 kB / 0.7656 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.0133, allocations: 3.984 kB / 0.7656 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.29e-05/0.01334, allocations: 41.64 kB / 0.7656 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.01335, allocations: 7.938 kB / 0.7656 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.01336, allocations: 2.75 kB / 0.7656 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.01337, allocations: 4 kB / 0.7656 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.113e-05/0.0134, allocations: 7.984 kB / 0.7657 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.0134, allocations: 0 / 0.7657 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.195e-05/0.01342, allocations: 3.953 kB / 0.7657 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.01342, allocations: 4 kB / 0.7657 GB, free: 0.7227 MB / 0.7136 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 4.99e-05/0.01347, allocations: 112.7 kB / 0.7658 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.01349, allocations: 8.844 kB / 0.7658 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.678e-05/0.01358, allocations: 122.5 kB / 0.7659 GB, free: 472 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.865e-05/0.01362, allocations: 184.2 kB / 0.7661 GB, free: 280 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.911e-05/0.01365, allocations: 180.3 kB / 0.7662 GB, free: 92 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.443e-05/0.01371, allocations: 184.2 kB / 0.7664 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.01587, allocations: 322.7 kB / 0.7667 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.633e-05/0.0159, allocations: 104.9 kB / 0.7668 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.927e-05/0.01593, allocations: 101 kB / 0.7669 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.663e-05/0.01598, allocations: 176.3 kB / 0.7671 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-05/0.01603, allocations: 188.8 kB / 0.7673 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.686e-05/0.01608, allocations: 180.2 kB / 0.7674 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.644e-05/0.01612, allocations: 181 kB / 0.7676 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.01624, allocations: 307.8 kB / 0.7679 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.01628, allocations: 109.4 kB / 0.768 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.01634, allocations: 185.2 kB / 0.7682 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.01648, allocations: 116.9 kB / 0.7683 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.01653, allocations: 180.5 kB / 0.7685 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.01656, allocations: 101.6 kB / 0.7686 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.469e-05/0.01659, allocations: 9.734 kB / 0.7686 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.01659, allocations: 0 / 0.7686 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000295/0.01688, allocations: 47.73 kB / 0.7686 GB, free: 13.52 MB / 0.7292 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.0002837/0.01717, allocations: 215.6 kB / 0.7688 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.167e-05/0.01723, allocations: 12.86 kB / 0.7688 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.01723, allocations: 0 / 0.7688 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.01723, allocations: 0.9375 kB / 0.7688 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.01756, allocations: 463.7 kB / 0.7693 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004994/0.01806, allocations: 194.7 kB / 0.7695 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.336e-05/0.01811, allocations: 55.36 kB / 0.7695 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.813e-05/0.01814, allocations: 4 kB / 0.7695 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.017e-05/0.01823, allocations: 63.33 kB / 0.7696 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of SimCode: time 1.153e-06/0.01824, allocations: 3.781 kB / 0.7696 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of Templates: time 0.003945/0.02218, allocations: 1.348 MB / 0.7709 GB, free: 11.27 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.087630742229521]