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.001203/0.001203, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001365/0.001365, allocations: 217 kB / 22.25 MB, free: 5.082 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.312/1.312, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] 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 2.981/2.981, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.001929/0.001929, allocations: 74.19 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3074, allocations: 180.2 MB / 1.353 GB, free: 8.484 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004809/0.3122, allocations: 3.4 MB / 1.356 GB, free: 5.062 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001009/0.3123, allocations: 55.78 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.344e-05/0.3123, allocations: 0 / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.571e-05/0.3124, allocations: 0 / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.003e-05/0.3125, allocations: 19.92 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005396/0.313, allocations: 195.2 kB / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.499e-05/0.3131, allocations: 27.92 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.446e-05/0.3131, allocations: 7.938 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.176e-05/0.3132, allocations: 15.97 kB / 1.356 GB, free: 4.746 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.095e-05/0.3133, allocations: 19.92 kB / 1.357 GB, free: 4.727 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.3133, allocations: 0 / 1.357 GB, free: 4.727 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.3136, allocations: 191.5 kB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.13e-05/0.3137, allocations: 4 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.3137, allocations: 19.91 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.3139, allocations: 131.9 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3139, allocations: 0 / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3139, allocations: 0 / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.314, allocations: 0 / 1.357 GB, free: 4.387 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.0003873/0.3143, allocations: 286 kB / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3144, allocations: 8.031 kB / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.3144, allocations: 30.75 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.3144, allocations: 4.938 kB / 1.357 GB, free: 4.027 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.3145, allocations: 106.5 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.168e-05/0.3146, allocations: 55.95 kB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.3146, allocations: 8.125 kB / 1.357 GB, free: 3.824 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.3148, allocations: 41.62 kB / 1.357 GB, free: 3.777 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3148, allocations: 0 / 1.357 GB, free: 3.777 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.3148, allocations: 0 / 1.357 GB, free: 3.777 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.3148, allocations: 4 kB / 1.357 GB, free: 3.773 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.508e-05/0.3148, allocations: 19.98 kB / 1.357 GB, free: 3.754 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005098/0.3153, allocations: 263.9 kB / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 3.805e-05/0.3154, allocations: 18.52 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.327e-05/0.3154, allocations: 4.922 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.544e-05/0.3155, allocations: 39.97 kB / 1.358 GB, free: 3.379 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.3155, allocations: 34.56 kB / 1.358 GB, free: 3.336 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3155, allocations: 0 / 1.358 GB, free: 3.336 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001261/0.3156, allocations: 33.69 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.3157, allocations: 51.41 kB / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.3158, allocations: 105.8 kB / 1.358 GB, free: 3.121 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.3158, allocations: 25.7 kB / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.3158, allocations: 88.03 kB / 1.358 GB, free: 3 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.754e-06/0.3158, allocations: 16.06 kB / 1.358 GB, free: 2.984 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.3159, allocations: 9.719 kB / 1.358 GB, free: 2.969 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.316, allocations: 322.8 kB / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.316, allocations: 4 kB / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.386e-05/0.316, allocations: 17.66 kB / 1.358 GB, free: 2.617 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.744e-05/0.3161, allocations: 29.72 kB / 1.358 GB, free: 2.582 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3161, allocations: 0 / 1.358 GB, free: 2.582 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.675e-05/0.3161, allocations: 49.86 kB / 1.358 GB, free: 2.527 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3162, allocations: 9.562 kB / 1.358 GB, free: 2.52 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.3162, allocations: 0 / 1.358 GB, free: 2.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3162, allocations: 0 / 1.358 GB, free: 2.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.326e-05/0.3162, allocations: 11.98 kB / 1.358 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.3162, allocations: 0 / 1.358 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.3162, allocations: 4 kB / 1.358 GB, free: 2.504 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.3163, allocations: 3.984 kB / 1.358 GB, free: 2.5 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 7.559e-05/0.3163, allocations: 122.4 kB / 1.359 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.3164, allocations: 0 / 1.359 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.3165, allocations: 126.9 kB / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.82e-05/0.3165, allocations: 180.3 kB / 1.359 GB, free: 2.055 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.989e-05/0.3166, allocations: 184.1 kB / 1.359 GB, free: 1.867 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-05/0.3167, allocations: 184.3 kB / 1.359 GB, free: 1.68 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.3169, allocations: 384.2 kB / 1.36 GB, free: 1.254 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.283e-05/0.317, allocations: 105 kB / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.317, allocations: 105 kB / 1.36 GB, free: 1.035 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.066e-05/0.3171, allocations: 180.2 kB / 1.36 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.187e-05/0.3171, allocations: 176.3 kB / 1.36 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.197e-05/0.3172, allocations: 188.2 kB / 1.36 GB, free: 492 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.446e-05/0.3173, allocations: 180.3 kB / 1.36 GB, free: 304 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.3175, allocations: 307.7 kB / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.3175, allocations: 112.9 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.554e-05/0.3176, allocations: 188.2 kB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.3177, allocations: 105 kB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.3178, allocations: 180.3 kB / 1.361 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-05/0.3179, allocations: 108.9 kB / 1.361 GB, free: 15.26 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.522e-05/0.3179, allocations: 91.27 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3179, allocations: 0 / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002716/0.3182, allocations: 35.81 kB / 1.362 GB, free: 15.13 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.0005474/0.3187, allocations: 0.8671 MB / 1.362 GB, free: 14.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.441e-05/0.3188, allocations: 11.94 kB / 1.362 GB, free: 14.22 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3188, allocations: 0 / 1.362 GB, free: 14.22 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.3188, allocations: 0 / 1.362 GB, free: 14.22 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.3193, allocations: 463.8 kB / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.3203, allocations: 1.332 MB / 1.364 GB, free: 12.34 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.3206, allocations: 0.669 MB / 1.365 GB, free: 11.65 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.698e-05/0.3206, allocations: 9.812 kB / 1.365 GB, free: 11.64 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.3206, allocations: 15.44 kB / 1.365 GB, free: 11.63 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.3206, allocations: 0 / 1.365 GB, free: 11.63 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/0.3482, allocations: 2.236 MB / 1.367 GB, free: 9.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.776/10.12, allocations: 5.234 kB / 1.367 GB, free: 9.566 MB / 1.061 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.31324909599971]