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.0017/0.0017, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002109/0.002109, allocations: 212.4 kB / 23.03 MB, free: 4.926 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.263/3.263, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_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.001993/0.001993, allocations: 64.44 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3529, allocations: 176.1 MB / 1.327 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005236/0.3582, allocations: 3.228 MB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001097/0.3583, allocations: 47.86 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.3583, allocations: 3.938 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.3584, allocations: 11.92 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.3585, allocations: 11.92 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005976/0.3591, allocations: 195.2 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.357e-05/0.3592, allocations: 31.91 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.437e-05/0.3592, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.867e-05/0.3592, allocations: 15.98 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.731e-05/0.3593, allocations: 23.84 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.3593, allocations: 4 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/0.3596, allocations: 131.6 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.3597, allocations: 7.984 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.3597, allocations: 4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.36, allocations: 131.9 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.36, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.36, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.36, allocations: 0 / 1.33 GB, free: 13.69 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.0004538/0.3604, allocations: 274.2 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3605, allocations: 12.03 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.392e-05/0.3605, allocations: 192 / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.169e-05/0.3605, allocations: 34.75 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.3606, allocations: 4.938 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.3607, allocations: 106.5 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.459e-05/0.3607, allocations: 55.97 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.3608, allocations: 7.938 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3609, allocations: 63.39 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3609, allocations: 3.984 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3609, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.361, allocations: 7.938 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.694e-05/0.361, allocations: 12 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.3616, allocations: 267.9 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.033e-05/0.3616, allocations: 18.58 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.3616, allocations: 4.859 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.3617, allocations: 40.02 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.3618, allocations: 38.5 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.3618, allocations: 4 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001492/0.3619, allocations: 33.66 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.362, allocations: 51.41 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.63e-05/0.3621, allocations: 105.8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.3621, allocations: 29.83 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.3621, allocations: 88.03 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.475e-06/0.3621, allocations: 4 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.3622, allocations: 17.7 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3623, allocations: 318.8 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.3623, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.3624, allocations: 21.72 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.307e-05/0.3624, allocations: 21.64 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3624, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.199e-05/0.3625, allocations: 57.62 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3625, allocations: 4 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3625, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3625, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.041e-05/0.3626, allocations: 8 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.3626, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.177e-05/0.3626, allocations: 3.953 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.3626, allocations: 3.938 kB / 1.332 GB, free: 11.78 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 8.631e-05/0.3627, allocations: 114.4 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.3627, allocations: 64 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.3629, allocations: 125.2 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.717e-05/0.363, allocations: 188.3 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.204e-05/0.3631, allocations: 176.3 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-05/0.3632, allocations: 192.2 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.3635, allocations: 380.3 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-05/0.3635, allocations: 108.9 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.985e-05/0.3636, allocations: 108.9 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.091e-05/0.3636, allocations: 176.3 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-05/0.3637, allocations: 184.2 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.246e-05/0.3638, allocations: 180.3 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.049e-05/0.3639, allocations: 180.2 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.3641, allocations: 315.7 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.3641, allocations: 101 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.3642, allocations: 184.3 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.3644, allocations: 108.9 kB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/0.3645, allocations: 180.3 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.262e-05/0.3646, allocations: 108.9 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.779e-05/0.3646, allocations: 95.2 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3646, allocations: 0 / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002992/0.3649, allocations: 31.88 kB / 1.335 GB, free: 8.41 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.0006702/0.3656, allocations: 0.865 MB / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.798e-05/0.3657, allocations: 15.94 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3657, allocations: 4.125 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.3657, allocations: 0 / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005284/0.3662, allocations: 463.4 kB / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.3675, allocations: 1.336 MB / 1.338 GB, free: 5.621 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.629e-05/0.3676, allocations: 63.28 kB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.353e-05/0.3676, allocations: 14.67 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.3676, allocations: 7.438 kB / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3676, allocations: 0 / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/0.4002, allocations: 2.331 MB / 1.34 GB, free: 3.383 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.98, allocations: 11.75 kB / 1.34 GB, free: 3.375 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.991192347020842]