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.001483/0.001483, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001667/0.001667, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.785 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.029/3.029, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.001982/0.001982, allocations: 69.69 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3243, allocations: 181.9 MB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006693/0.331, allocations: 3.24 MB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001359/0.3311, allocations: 47.83 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.3311, allocations: 0 / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.3313, allocations: 3.984 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.108e-05/0.3314, allocations: 11.92 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007632/0.3321, allocations: 195.2 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.3322, allocations: 31.91 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.3323, allocations: 0 / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.681e-05/0.3323, allocations: 23.91 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.05e-05/0.3324, allocations: 11.94 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.3325, allocations: 4 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003326/0.3328, allocations: 127.6 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.041e-05/0.3328, allocations: 15.98 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.252e-05/0.3329, allocations: 7.938 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.3331, allocations: 123.9 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3331, allocations: 0 / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3331, allocations: 0 / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.3331, allocations: 0 / 1.367 GB, free: 10.29 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.0004113/0.3335, allocations: 270.2 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3336, allocations: 15.97 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.3336, allocations: 34.75 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.3336, allocations: 0.9375 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.3338, allocations: 114.5 kB / 1.368 GB, free: 9.801 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-05/0.3338, allocations: 51.97 kB / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.3338, allocations: 8.125 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.334, allocations: 71.33 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.334, allocations: 0 / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.334, allocations: 3.984 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.334, allocations: 3.984 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.229e-05/0.334, allocations: 12 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005137/0.3346, allocations: 256 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.421e-05/0.3346, allocations: 22.55 kB / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.3346, allocations: 16.86 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.393e-05/0.3347, allocations: 35.97 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.3348, allocations: 30.56 kB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3348, allocations: 3.938 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001413/0.3349, allocations: 37.7 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.3349, allocations: 51.41 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.335, allocations: 101.8 kB / 1.368 GB, free: 8.992 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.335, allocations: 29.7 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.3351, allocations: 88.03 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.682e-06/0.3351, allocations: 4.078 kB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.3351, allocations: 21.7 kB / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3353, allocations: 318.8 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.242e-05/0.3353, allocations: 7.938 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/0.3353, allocations: 13.72 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.3354, allocations: 25.7 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3354, allocations: 0 / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.912e-05/0.3354, allocations: 45.64 kB / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3355, allocations: 15.92 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.3355, allocations: 4.062 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3355, allocations: 0 / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.06e-05/0.3355, allocations: 4 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3355, allocations: 0 / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.828e-05/0.3355, allocations: 4 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.3356, allocations: 4 kB / 1.369 GB, free: 8.375 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.94e-05/0.3356, allocations: 114.9 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.3357, allocations: 0 / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.3358, allocations: 128.9 kB / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.688e-05/0.3359, allocations: 184.3 kB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.779e-05/0.3359, allocations: 184.2 kB / 1.369 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-05/0.336, allocations: 176.3 kB / 1.37 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.3363, allocations: 388.2 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.169e-05/0.3363, allocations: 101 kB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.041e-05/0.3363, allocations: 109 kB / 1.37 GB, free: 6.914 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.027e-05/0.3364, allocations: 184.2 kB / 1.37 GB, free: 6.727 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.357e-05/0.3365, allocations: 176.3 kB / 1.37 GB, free: 6.547 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.747e-05/0.3366, allocations: 184.2 kB / 1.371 GB, free: 6.359 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-05/0.3367, allocations: 176.3 kB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.3368, allocations: 311.7 kB / 1.371 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.3369, allocations: 113 kB / 1.371 GB, free: 5.734 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.515e-05/0.337, allocations: 180.2 kB / 1.371 GB, free: 5.551 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.3371, allocations: 109 kB / 1.371 GB, free: 5.438 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-05/0.3372, allocations: 176.3 kB / 1.372 GB, free: 5.258 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.941e-05/0.3373, allocations: 116.9 kB / 1.372 GB, free: 5.137 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.574e-05/0.3373, allocations: 83.27 kB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3373, allocations: 0 / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002751/0.3376, allocations: 43.75 kB / 1.372 GB, free: 5.012 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.0006305/0.3382, allocations: 0.8594 MB / 1.373 GB, free: 4.121 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.747e-05/0.3383, allocations: 11.88 kB / 1.373 GB, free: 4.109 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3383, allocations: 0 / 1.373 GB, free: 4.109 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.3383, allocations: 0 / 1.373 GB, free: 4.109 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.3388, allocations: 467.8 kB / 1.373 GB, free: 3.648 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.34, allocations: 1.337 MB / 1.374 GB, free: 2.227 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.734e-05/0.34, allocations: 55.36 kB / 1.375 GB, free: 2.152 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.458e-05/0.3401, allocations: 18.83 kB / 1.375 GB, free: 2.137 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.3401, allocations: 11.44 kB / 1.375 GB, free: 2.125 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.3401, allocations: 0 / 1.375 GB, free: 2.125 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03035/0.3705, allocations: 2.67 MB / 1.377 GB, free: 15.64 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.72, allocations: 7.734 kB / 1.377 GB, free: 15.63 MB / 1.076 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 & 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.984527985565364]