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.001751/0.001751, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002083/0.002083, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.92/2.92, allocations: 476.8 MB / 0.7715 GB, free: 3.906 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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [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.002166/0.002166, allocations: 66.66 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3661, allocations: 169.9 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005647/0.3717, allocations: 3.228 MB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001661/0.3719, allocations: 51.81 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.3719, allocations: 0 / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.372, allocations: 3.984 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.23e-05/0.3721, allocations: 15.92 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006551/0.3728, allocations: 191.2 kB / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.622e-05/0.3729, allocations: 39.84 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.3729, allocations: 3.938 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.253e-05/0.373, allocations: 11.98 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.626e-05/0.373, allocations: 11.98 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.3731, allocations: 0 / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003128/0.3734, allocations: 135.6 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.3734, allocations: 15.92 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.3734, allocations: 8 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.3737, allocations: 133.9 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3737, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3738, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.3738, allocations: 0 / 1.288 GB, free: 6.812 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.0004475/0.3742, allocations: 272.1 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3742, allocations: 12.03 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.308e-05/0.3743, allocations: 192 / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.3743, allocations: 30.75 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.3743, allocations: 4.891 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.3745, allocations: 110.5 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.98e-05/0.3745, allocations: 55.72 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.3746, allocations: 4 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.3747, allocations: 71.33 kB / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3747, allocations: 0 / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3747, allocations: 0 / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.3748, allocations: 3.984 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.485e-05/0.3748, allocations: 16 kB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/0.3754, allocations: 255.9 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.218e-05/0.3755, allocations: 30.61 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.008e-05/0.3755, allocations: 8.859 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.3756, allocations: 39.89 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.3757, allocations: 34.56 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.3757, allocations: 0 / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001635/0.3758, allocations: 37.64 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.3759, allocations: 51.41 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.376, allocations: 105.8 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.376, allocations: 29.64 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.3761, allocations: 88.16 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.905e-06/0.3761, allocations: 7.953 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.3761, allocations: 21.7 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3763, allocations: 318.8 kB / 1.289 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.498e-05/0.3763, allocations: 0 / 1.289 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.034e-05/0.3763, allocations: 17.72 kB / 1.289 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.121e-05/0.3763, allocations: 25.7 kB / 1.289 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.3763, allocations: 0 / 1.289 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.903e-05/0.3764, allocations: 45.64 kB / 1.289 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3765, allocations: 16.05 kB / 1.289 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3765, allocations: 0 / 1.289 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3765, allocations: 0 / 1.289 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.07e-05/0.3765, allocations: 4 kB / 1.289 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.3765, allocations: 3.984 kB / 1.289 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.3766, allocations: 7.938 kB / 1.289 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.3766, allocations: 0 / 1.289 GB, free: 4.898 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 9.507e-05/0.3767, allocations: 113.8 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.3767, allocations: 3.953 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.3769, allocations: 124.9 kB / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.91e-05/0.3769, allocations: 176.3 kB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001103/0.3771, allocations: 188.2 kB / 1.29 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000107/0.3772, allocations: 184.2 kB / 1.29 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.3775, allocations: 380.2 kB / 1.291 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-05/0.3775, allocations: 101 kB / 1.291 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-05/0.3776, allocations: 109.1 kB / 1.291 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.762e-05/0.3777, allocations: 184.2 kB / 1.291 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.703e-05/0.3778, allocations: 176.3 kB / 1.291 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.156e-05/0.3778, allocations: 184.2 kB / 1.291 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-05/0.3779, allocations: 176.3 kB / 1.291 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.3781, allocations: 319.6 kB / 1.292 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/0.3782, allocations: 105 kB / 1.292 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.3783, allocations: 180.2 kB / 1.292 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.3785, allocations: 113 kB / 1.292 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/0.3786, allocations: 180.2 kB / 1.292 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/0.3786, allocations: 108.9 kB / 1.292 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.635e-05/0.3787, allocations: 91.27 kB / 1.293 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3787, allocations: 0 / 1.293 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003822/0.3791, allocations: 31.88 kB / 1.293 GB, free: 1.547 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.0007253/0.3798, allocations: 0.8698 MB / 1.293 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.3799, allocations: 12 kB / 1.293 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3799, allocations: 4 kB / 1.293 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.3799, allocations: 4.125 kB / 1.293 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/0.3805, allocations: 462.6 kB / 1.294 GB, free: 180 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.382, allocations: 1.34 MB / 1.295 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.511e-05/0.3821, allocations: 59.77 kB / 1.295 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.383e-05/0.3821, allocations: 4 kB / 1.295 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.3822, allocations: 15.44 kB / 1.295 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.3822, allocations: 0 / 1.295 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.4068, allocations: 2.325 MB / 1.298 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.98, allocations: 13.8 kB / 1.298 GB, free: 12.51 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.95091312995646]