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.00173/0.00173, allocations: 95.77 kB / 18.94 MB, free: 2.844 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.002243/0.002243, allocations: 219.8 kB / 22.24 MB, free: 5.098 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.191/3.191, allocations: 0.49 GB / 0.7951 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",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.00197/0.00197, allocations: 65.72 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3693, allocations: 176.1 MB / 1.326 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005334/0.3746, allocations: 3.238 MB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 9.917e-05/0.3747, allocations: 43.88 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.3748, allocations: 0 / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.796e-05/0.3749, allocations: 7.922 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.02e-05/0.3749, allocations: 11.92 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006039/0.3755, allocations: 199.2 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.944e-05/0.3756, allocations: 27.92 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.3757, allocations: 4 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.232e-05/0.3757, allocations: 19.91 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.123e-05/0.3758, allocations: 11.94 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.3758, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.3761, allocations: 135.6 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.886e-05/0.3761, allocations: 11.98 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.3762, allocations: 11.94 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.3764, allocations: 123.9 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3764, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3764, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3764, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 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.0003918/0.3768, allocations: 270.2 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3768, allocations: 12.03 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.3769, allocations: 38.73 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.3769, allocations: 0.9375 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.377, allocations: 110.5 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.688e-05/0.3771, allocations: 55.97 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.3771, allocations: 8.109 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.3773, allocations: 75.38 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.3773, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.3773, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.3773, allocations: 3.938 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.667e-05/0.3774, allocations: 15.98 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.3779, allocations: 256 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.469e-05/0.3779, allocations: 14.58 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.198e-05/0.3779, allocations: 20.84 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.378, allocations: 35.98 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.3781, allocations: 38.48 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3781, allocations: 0 / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001485/0.3782, allocations: 37.66 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.3783, allocations: 55.41 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.3783, allocations: 97.84 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.3784, allocations: 29.7 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.3784, allocations: 92.03 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-06/0.3784, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.3785, allocations: 13.72 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3786, allocations: 326.9 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.3786, allocations: 4 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.567e-05/0.3786, allocations: 13.72 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.993e-05/0.3787, allocations: 29.64 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.3787, allocations: 0 / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.312e-05/0.3788, allocations: 45.64 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3788, allocations: 4 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3788, allocations: 4 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.3788, allocations: 4.062 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.931e-05/0.3789, allocations: 11.92 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3789, allocations: 0 / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.3789, allocations: 3.953 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3789, allocations: 4 kB / 1.331 GB, free: 11.86 MB / 1.029 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.0001146/0.379, allocations: 110.3 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.379, allocations: 4 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.3792, allocations: 124.9 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.465e-05/0.3793, allocations: 180.3 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-05/0.3793, allocations: 180.3 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.061e-05/0.3794, allocations: 184.3 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.3797, allocations: 384.2 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.45e-05/0.3797, allocations: 104.9 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.3798, allocations: 101 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.831e-05/0.3799, allocations: 188.2 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/0.3799, allocations: 180.2 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.236e-05/0.38, allocations: 176.3 kB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.208e-05/0.3801, allocations: 184.2 kB / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.3803, allocations: 312 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.3803, allocations: 105 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.149e-05/0.3804, allocations: 184.2 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.3806, allocations: 112.9 kB / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.3807, allocations: 176.3 kB / 1.334 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.3807, allocations: 116.9 kB / 1.334 GB, free: 8.625 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.242e-05/0.3808, allocations: 87.28 kB / 1.334 GB, free: 8.539 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3808, allocations: 0 / 1.334 GB, free: 8.539 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000292/0.3811, allocations: 43.8 kB / 1.334 GB, free: 8.496 MB / 1.029 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.0006223/0.3817, allocations: 0.8633 MB / 1.335 GB, free: 7.602 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.164e-05/0.3817, allocations: 7.938 kB / 1.335 GB, free: 7.594 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3817, allocations: 0 / 1.335 GB, free: 7.594 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/0.3817, allocations: 0 / 1.335 GB, free: 7.594 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00052/0.3823, allocations: 473.9 kB / 1.336 GB, free: 7.129 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.3835, allocations: 1.332 MB / 1.337 GB, free: 5.711 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.674e-05/0.3835, allocations: 55.36 kB / 1.337 GB, free: 5.637 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.482e-05/0.3836, allocations: 14.23 kB / 1.337 GB, free: 5.625 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.3836, allocations: 11.44 kB / 1.337 GB, free: 5.613 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.3836, allocations: 0 / 1.337 GB, free: 5.613 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03701/0.4206, allocations: 2.709 MB / 1.34 GB, free: 3.09 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.53, allocations: 0 / 1.34 GB, free: 3.09 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.321321688999888]