Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 191.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.642/2.642, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 67.89 kB / 1.061 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.005, allocations: 160.8 MB / 1.218 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005678/1.01, allocations: 3.344 MB / 1.222 GB, free: 1.094 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001066/1.01, allocations: 51.8 kB / 1.222 GB, free: 1.043 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/1.01, allocations: 0 / 1.222 GB, free: 1.043 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/1.01, allocations: 3.938 kB / 1.222 GB, free: 1.039 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.395e-05/1.011, allocations: 15.91 kB / 1.222 GB, free: 1.023 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006196/1.011, allocations: 199.3 kB / 1.222 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.306e-05/1.011, allocations: 35.84 kB / 1.222 GB, free: 0.793 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/1.011, allocations: 3.984 kB / 1.222 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.83e-05/1.011, allocations: 12 kB / 1.222 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.124e-05/1.011, allocations: 15.91 kB / 1.222 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/1.011, allocations: 4 kB / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/1.012, allocations: 199.5 kB / 1.222 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/1.012, allocations: 0 / 1.222 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/1.012, allocations: 7.984 kB / 1.222 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003337/1.012, allocations: 141.7 kB / 1.222 GB, free: 436 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.012, allocations: 0 / 1.222 GB, free: 436 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.163e-06/1.012, allocations: 0 / 1.222 GB, free: 436 kB / 0.92 GB Notification: Performance of Transformations before backend: time 6.552e-06/1.012, allocations: 0 / 1.222 GB, free: 436 kB / 0.92 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.0005158/1.013, allocations: 345.4 kB / 1.223 GB, free: 44 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/1.013, allocations: 8.031 kB / 1.223 GB, free: 36 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/1.013, allocations: 8.938 kB / 1.223 GB, free: 28 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/1.013, allocations: 168.3 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.564e-05/1.013, allocations: 26.27 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-06/1.013, allocations: 4.375 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/1.013, allocations: 57.53 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.013, allocations: 0 / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/1.013, allocations: 0 / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/1.013, allocations: 4 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.536e-05/1.013, allocations: 11.98 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007971/1.014, allocations: 0.591 MB / 1.224 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.367e-05/1.014, allocations: 22.52 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/1.014, allocations: 4.859 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/1.015, allocations: 348.4 kB / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/1.015, allocations: 30.56 kB / 1.224 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/1.015, allocations: 4 kB / 1.224 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001615/1.015, allocations: 37.62 kB / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/1.015, allocations: 55.41 kB / 1.224 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.94e-05/1.015, allocations: 101.8 kB / 1.224 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/1.015, allocations: 25.7 kB / 1.224 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/1.015, allocations: 88.09 kB / 1.224 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.618e-06/1.015, allocations: 4 kB / 1.224 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/1.015, allocations: 17.67 kB / 1.224 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.015, allocations: 326.9 kB / 1.225 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/1.015, allocations: 4 kB / 1.225 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.711e-05/1.015, allocations: 9.719 kB / 1.225 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.86e-05/1.015, allocations: 25.66 kB / 1.225 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.015, allocations: 0 / 1.225 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.333e-05/1.015, allocations: 49.72 kB / 1.225 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/1.015, allocations: 8 kB / 1.225 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/1.015, allocations: 0 / 1.225 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/1.015, allocations: 0 / 1.225 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.842e-05/1.015, allocations: 7.984 kB / 1.225 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/1.015, allocations: 7.938 kB / 1.225 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/1.015, allocations: 0 / 1.225 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/1.015, allocations: 3.938 kB / 1.225 GB, free: 13.67 MB / 0.9356 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.871e-05/1.016, allocations: 113.8 kB / 1.225 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/1.016, allocations: 4.031 kB / 1.225 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/1.016, allocations: 121 kB / 1.225 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.098e-05/1.016, allocations: 180.2 kB / 1.225 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.51e-05/1.016, allocations: 176.3 kB / 1.225 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.839e-05/1.016, allocations: 180.3 kB / 1.225 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/1.016, allocations: 413.1 kB / 1.226 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.58e-05/1.016, allocations: 105 kB / 1.226 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.983e-05/1.016, allocations: 108.9 kB / 1.226 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.718e-05/1.016, allocations: 176.3 kB / 1.226 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.985e-05/1.016, allocations: 180.4 kB / 1.226 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001065/1.017, allocations: 188.2 kB / 1.227 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-05/1.017, allocations: 188.3 kB / 1.227 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/1.017, allocations: 311.6 kB / 1.227 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/1.017, allocations: 186 kB / 1.227 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/1.017, allocations: 180.3 kB / 1.227 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/1.017, allocations: 109 kB / 1.227 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.3e-05/1.017, allocations: 188.4 kB / 1.228 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/1.017, allocations: 101 kB / 1.228 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.754e-05/1.017, allocations: 87.27 kB / 1.228 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/1.017, allocations: 0 / 1.228 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002831/1.018, allocations: 31.88 kB / 1.228 GB, free: 10.2 MB / 0.9356 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.000326/1.018, allocations: 251 kB / 1.228 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.368e-05/1.018, allocations: 11.92 kB / 1.228 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.018, allocations: 0 / 1.228 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/1.018, allocations: 4.125 kB / 1.228 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/1.019, allocations: 459.7 kB / 1.229 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/1.019, allocations: 182.2 kB / 1.229 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/1.019, allocations: 0.6767 MB / 1.229 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.652e-05/1.019, allocations: 17.81 kB / 1.229 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.728e-05/1.019, allocations: 7.438 kB / 1.229 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/1.019, allocations: 0 / 1.229 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of Templates: time 0.004261/1.024, allocations: 1.228 MB / 1.231 GB, free: 7.359 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.002650526352227]