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.001542/0.001542, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001659/0.001659, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.354/1.354, allocations: 230.6 MB / 256 MB, free: 7.801 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.026/3.026, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.002187/0.002187, allocations: 72.19 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3074, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004967/0.3124, allocations: 3.226 MB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 9.801e-05/0.3125, allocations: 43.88 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.294e-05/0.3125, allocations: 3.938 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.273e-05/0.3126, allocations: 3.938 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/0.3127, allocations: 19.91 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005826/0.3132, allocations: 191.3 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.013e-05/0.3133, allocations: 35.84 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.057e-05/0.3134, allocations: 0 / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.672e-05/0.3134, allocations: 19.92 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.245e-05/0.3135, allocations: 7.984 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.3135, allocations: 4 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.3138, allocations: 143.5 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.04e-05/0.3138, allocations: 3.984 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.3138, allocations: 11.94 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.3141, allocations: 120 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3141, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3141, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.3141, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 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.0003816/0.3145, allocations: 274.2 kB / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3145, allocations: 8.031 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.884e-05/0.3146, allocations: 34.69 kB / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.3146, allocations: 8.938 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.3147, allocations: 114.5 kB / 1.368 GB, free: 9.777 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.481e-05/0.3148, allocations: 51.97 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.3148, allocations: 8.125 kB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.3149, allocations: 67.38 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.3149, allocations: 0 / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.3149, allocations: 0 / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.3149, allocations: 4 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.747e-05/0.315, allocations: 19.92 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005015/0.3155, allocations: 256 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.959e-05/0.3155, allocations: 22.58 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.312e-05/0.3156, allocations: 4.859 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.3157, allocations: 36.03 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.3157, allocations: 30.56 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3157, allocations: 0 / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001348/0.3158, allocations: 41.62 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.3159, allocations: 51.41 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.427e-05/0.316, allocations: 102 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.316, allocations: 25.7 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.316, allocations: 96.14 kB / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/0.316, allocations: 7.953 kB / 1.368 GB, free: 8.844 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.3161, allocations: 13.72 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3162, allocations: 318.8 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.3162, allocations: 11.92 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.647e-05/0.3163, allocations: 17.75 kB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.015e-05/0.3163, allocations: 29.59 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3163, allocations: 0 / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.911e-05/0.3164, allocations: 45.69 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3164, allocations: 8 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3164, allocations: 0 / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.3164, allocations: 0 / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-05/0.3164, allocations: 7.938 kB / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.3165, allocations: 7.984 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.5e-05/0.3165, allocations: 4 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.3165, allocations: 0 / 1.369 GB, free: 8.355 MB / 1.061 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 7.742e-05/0.3166, allocations: 114.4 kB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.3166, allocations: 0 / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.3167, allocations: 129 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.329e-05/0.3168, allocations: 184.2 kB / 1.369 GB, free: 7.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.143e-05/0.3169, allocations: 180.3 kB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-05/0.3169, allocations: 180.3 kB / 1.37 GB, free: 7.543 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.3172, allocations: 384.2 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-05/0.3172, allocations: 101 kB / 1.37 GB, free: 7.012 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.3173, allocations: 108.9 kB / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.921e-05/0.3174, allocations: 176.3 kB / 1.37 GB, free: 6.719 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.073e-05/0.3174, allocations: 184.2 kB / 1.37 GB, free: 6.531 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.364e-05/0.3175, allocations: 184.2 kB / 1.371 GB, free: 6.344 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.763e-05/0.3176, allocations: 184.3 kB / 1.371 GB, free: 6.156 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.3178, allocations: 307.7 kB / 1.371 GB, free: 5.832 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.3178, allocations: 116.9 kB / 1.371 GB, free: 5.711 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.382e-05/0.3179, allocations: 176.3 kB / 1.371 GB, free: 5.531 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.3181, allocations: 105 kB / 1.371 GB, free: 5.422 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.3181, allocations: 188.2 kB / 1.372 GB, free: 5.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-05/0.3182, allocations: 105 kB / 1.372 GB, free: 5.121 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.17e-05/0.3182, allocations: 83.28 kB / 1.372 GB, free: 5.039 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3182, allocations: 0 / 1.372 GB, free: 5.039 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002753/0.3185, allocations: 39.8 kB / 1.372 GB, free: 5 MB / 1.061 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.0006098/0.3191, allocations: 0.8671 MB / 1.373 GB, free: 4.102 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.415e-05/0.3192, allocations: 7.984 kB / 1.373 GB, free: 4.094 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3192, allocations: 128 / 1.373 GB, free: 4.094 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.075e-06/0.3192, allocations: 11.94 kB / 1.373 GB, free: 4.082 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.3196, allocations: 463.7 kB / 1.373 GB, free: 3.625 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.3207, allocations: 1.332 MB / 1.374 GB, free: 2.207 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.316e-05/0.3208, allocations: 59.34 kB / 1.375 GB, free: 2.129 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.687e-05/0.3208, allocations: 6.391 kB / 1.375 GB, free: 2.125 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.3208, allocations: 15.42 kB / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.3208, allocations: 0 / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.3493, allocations: 2.674 MB / 1.377 GB, free: 15.62 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.38, allocations: 8.172 kB / 1.377 GB, free: 15.61 MB / 1.076 GB " [Timeout remaining time 290] (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: 16.50488131074235]