Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001517/0.001517, allocations: 101.3 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.001649/0.001649, allocations: 219.3 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.407/1.407, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.077/3.077, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.001887/0.001887, allocations: 66.17 kB / 1.17 GB, free: 19.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3579, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005757/0.3637, allocations: 3.216 MB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001261/0.3638, allocations: 63.73 kB / 1.348 GB, free: 12.67 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.3638, allocations: 0 / 1.348 GB, free: 12.67 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.3639, allocations: 4 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.58e-05/0.364, allocations: 7.922 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006513/0.3647, allocations: 199.2 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.041e-05/0.3647, allocations: 27.86 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.3648, allocations: 7.984 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.14e-05/0.3648, allocations: 15.98 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.927e-05/0.3649, allocations: 11.92 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.3649, allocations: 4 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.3652, allocations: 139.5 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.3653, allocations: 3.984 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.3653, allocations: 11.98 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.3656, allocations: 123.9 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3656, allocations: 4 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3656, allocations: 0 / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.3656, allocations: 0 / 1.349 GB, free: 12.12 MB / 1.045 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.0003961/0.366, allocations: 274.2 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.366, allocations: 8.031 kB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.165e-05/0.366, allocations: 192 / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.3661, allocations: 34.75 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.3661, allocations: 4.938 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.3662, allocations: 106.5 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.579e-05/0.3663, allocations: 59.91 kB / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.3663, allocations: 7.938 kB / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.3664, allocations: 67.39 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3664, allocations: 0 / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3665, allocations: 4 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.3665, allocations: 0 / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.424e-05/0.3665, allocations: 15.92 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.367, allocations: 259.9 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.55e-05/0.3671, allocations: 22.52 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.3671, allocations: 4.859 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.3672, allocations: 40.03 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.3672, allocations: 34.56 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.3672, allocations: 0 / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001433/0.3674, allocations: 37.69 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.3674, allocations: 51.41 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.318e-05/0.3675, allocations: 105.8 kB / 1.35 GB, free: 10.82 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.3675, allocations: 25.7 kB / 1.35 GB, free: 10.79 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.3676, allocations: 96.02 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-06/0.3676, allocations: 4 kB / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.3676, allocations: 17.67 kB / 1.35 GB, free: 10.67 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3677, allocations: 322.9 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.55e-05/0.3678, allocations: 7.984 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.086e-05/0.3678, allocations: 17.72 kB / 1.351 GB, free: 10.31 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.567e-05/0.3678, allocations: 17.72 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3678, allocations: 0 / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.603e-05/0.3679, allocations: 53.62 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3679, allocations: 5.719 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3679, allocations: 0 / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3679, allocations: 4.062 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.282e-05/0.368, allocations: 11.94 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.368, allocations: 3.984 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.368, allocations: 0 / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.368, allocations: 7.938 kB / 1.351 GB, free: 10.2 MB / 1.045 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.38e-05/0.3681, allocations: 109.8 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.3681, allocations: 4 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.3683, allocations: 121 kB / 1.351 GB, free: 9.945 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.351e-05/0.3683, allocations: 188.2 kB / 1.351 GB, free: 9.754 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.311e-05/0.3684, allocations: 180.2 kB / 1.351 GB, free: 9.57 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.537e-05/0.3685, allocations: 180.3 kB / 1.351 GB, free: 9.387 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.3688, allocations: 384.2 kB / 1.352 GB, free: 8.961 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-05/0.3688, allocations: 105 kB / 1.352 GB, free: 8.852 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.3689, allocations: 101 kB / 1.352 GB, free: 8.746 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.074e-05/0.369, allocations: 180.2 kB / 1.352 GB, free: 8.562 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.508e-05/0.369, allocations: 184.3 kB / 1.352 GB, free: 8.375 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.703e-05/0.3691, allocations: 184.2 kB / 1.353 GB, free: 8.188 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-05/0.3692, allocations: 176.3 kB / 1.353 GB, free: 8.008 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.3694, allocations: 315.7 kB / 1.353 GB, free: 7.676 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.3694, allocations: 105 kB / 1.353 GB, free: 7.566 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.3695, allocations: 188.2 kB / 1.353 GB, free: 7.375 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.3697, allocations: 105 kB / 1.353 GB, free: 7.266 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.025e-05/0.3698, allocations: 180.2 kB / 1.354 GB, free: 7.082 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.3698, allocations: 109 kB / 1.354 GB, free: 6.969 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.785e-05/0.3699, allocations: 95.22 kB / 1.354 GB, free: 6.875 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3699, allocations: 0 / 1.354 GB, free: 6.875 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002957/0.3702, allocations: 35.88 kB / 1.354 GB, free: 6.84 MB / 1.045 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.0006358/0.3708, allocations: 0.8593 MB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.976e-05/0.3709, allocations: 11.98 kB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3709, allocations: 0 / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.3709, allocations: 0 / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.3714, allocations: 460.3 kB / 1.355 GB, free: 5.484 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.3726, allocations: 1.344 MB / 1.356 GB, free: 4.051 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.48e-05/0.3726, allocations: 59.34 kB / 1.356 GB, free: 3.973 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.019e-05/0.3727, allocations: 5.969 kB / 1.356 GB, free: 3.969 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.3727, allocations: 11.44 kB / 1.356 GB, free: 3.957 MB / 1.045 GB Notification: Performance of SimCode: time 3.81e-07/0.3727, allocations: 0 / 1.356 GB, free: 3.957 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.3947, allocations: 2.342 MB / 1.359 GB, free: 1.816 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.21, allocations: 15.33 kB / 1.359 GB, free: 1.809 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.59891062893439]