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.00142/0.00142, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001566/0.001566, allocations: 216.1 kB / 22.25 MB, free: 5.129 MB / 14.72 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.911/2.911, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 65.75 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3726, allocations: 170 MB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005943/0.3786, allocations: 3.402 MB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001247/0.3787, allocations: 59.84 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.3787, allocations: 0 / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.3788, allocations: 7.938 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.541e-05/0.3789, allocations: 7.922 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.3796, allocations: 204.6 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.3797, allocations: 27.86 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.148e-05/0.3797, allocations: 4 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.049e-05/0.3798, allocations: 19.92 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.511e-05/0.3799, allocations: 15.92 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.3799, allocations: 0 / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005076/0.3804, allocations: 183.5 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.3805, allocations: 11.98 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.3805, allocations: 11.92 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.3808, allocations: 143.6 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3808, allocations: 4 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3808, allocations: 0 / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.3808, allocations: 0 / 1.288 GB, free: 7.09 MB / 0.9825 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.0005389/0.3814, allocations: 274.2 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3814, allocations: 8.031 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.3815, allocations: 4.922 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.3816, allocations: 106.5 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.282e-05/0.3817, allocations: 59.91 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.3817, allocations: 384 / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.3818, allocations: 49.62 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3818, allocations: 0 / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.3819, allocations: 0 / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.3819, allocations: 0 / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.485e-05/0.3819, allocations: 19.92 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/0.3825, allocations: 263.9 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.488e-05/0.3826, allocations: 22.56 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.731e-05/0.3826, allocations: 4.859 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.3827, allocations: 36.03 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.3828, allocations: 34.5 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.3828, allocations: 0 / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002/0.383, allocations: 45.59 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.383, allocations: 55.53 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.3831, allocations: 101.8 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.3831, allocations: 25.7 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.696e-05/0.3832, allocations: 92.03 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.509e-06/0.3832, allocations: 0 / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.3832, allocations: 17.7 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3834, allocations: 318.8 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.3834, allocations: 4 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.791e-05/0.3834, allocations: 17.72 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.977e-05/0.3835, allocations: 29.64 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.3835, allocations: 0 / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000102/0.3836, allocations: 41.7 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.3836, allocations: 10.02 kB / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.3836, allocations: 7.938 kB / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.3837, allocations: 4.062 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.759e-05/0.3837, allocations: 4 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.3837, allocations: 3.984 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.429e-05/0.3838, allocations: 3.953 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.3838, allocations: 4 kB / 1.289 GB, free: 5.25 MB / 0.9825 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 0.0001169/0.3839, allocations: 109.8 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.3839, allocations: 4 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.3841, allocations: 121 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001395/0.3842, allocations: 184.2 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.233e-05/0.3843, allocations: 176.3 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.221e-05/0.3844, allocations: 184.2 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.3848, allocations: 380.2 kB / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001104/0.3849, allocations: 105 kB / 1.291 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.385, allocations: 112.9 kB / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002041/0.3852, allocations: 180.3 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.601e-05/0.3853, allocations: 192.2 kB / 1.291 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.907e-05/0.3854, allocations: 176.3 kB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001758/0.3856, allocations: 188.2 kB / 1.291 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.3857, allocations: 307.8 kB / 1.292 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.3859, allocations: 108.9 kB / 1.292 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.386, allocations: 184.2 kB / 1.292 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.3862, allocations: 104.9 kB / 1.292 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.3863, allocations: 176.3 kB / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.638e-05/0.3864, allocations: 113 kB / 1.292 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001747/0.3865, allocations: 83.27 kB / 1.292 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3865, allocations: 0 / 1.292 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003578/0.3869, allocations: 35.88 kB / 1.292 GB, free: 1.902 MB / 0.9825 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.0003143/0.3872, allocations: 236.9 kB / 1.293 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.626e-05/0.3873, allocations: 11.98 kB / 1.293 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.3873, allocations: 0 / 1.293 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.847e-06/0.3873, allocations: 4 kB / 1.293 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.3879, allocations: 462.2 kB / 1.293 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.3882, allocations: 194 kB / 1.293 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.3886, allocations: 0.6729 MB / 1.294 GB, free: 280 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.977e-05/0.3886, allocations: 11.98 kB / 1.294 GB, free: 268 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.3886, allocations: 11.44 kB / 1.294 GB, free: 256 kB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3886, allocations: 0 / 1.294 GB, free: 256 kB / 0.9825 GB Notification: Performance of Templates: time 0.004586/0.3932, allocations: 1.22 MB / 1.295 GB, free: 15.08 MB / 0.9981 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.360398669727147]