Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001351/0.001351, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001589/0.001589, allocations: 215 kB / 22.25 MB, free: 5.113 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.841/2.841, allocations: 476.8 MB / 0.7707 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.002088/0.002088, allocations: 72.19 kB / 1.117 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3611, allocations: 169.9 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006101/0.3672, allocations: 4.13 MB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000236/0.3674, allocations: 159.5 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.087e-05/0.3674, allocations: 0 / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.3675, allocations: 7.922 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.754e-05/0.3676, allocations: 11.94 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.368, allocations: 91.17 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.536e-05/0.3681, allocations: 35.84 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.3681, allocations: 8 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.364e-05/0.3682, allocations: 19.97 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.543e-05/0.3682, allocations: 11.94 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.3683, allocations: 0 / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.3685, allocations: 87.7 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.3686, allocations: 11.98 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.3686, allocations: 11.92 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.3687, allocations: 59.44 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3688, allocations: 4 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3688, allocations: 0 / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.3688, allocations: 4 kB / 1.288 GB, free: 6.988 MB / 0.9825 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.0004213/0.3692, allocations: 258.3 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3692, allocations: 8.031 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.195e-05/0.3693, allocations: 38.75 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.3693, allocations: 4.875 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.3694, allocations: 110.5 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.508e-05/0.3695, allocations: 59.95 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.3695, allocations: 8.109 kB / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.3696, allocations: 49.62 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.3697, allocations: 3.938 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3697, allocations: 4 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.3697, allocations: 0 / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.438e-05/0.3697, allocations: 11.98 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.3701, allocations: 224 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.833e-05/0.3702, allocations: 26.52 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.3702, allocations: 12.84 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.077e-05/0.3703, allocations: 4.062 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.3703, allocations: 34.56 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3703, allocations: 0 / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001504/0.3704, allocations: 29.7 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.3705, allocations: 55.39 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.3706, allocations: 105.8 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3706, allocations: 29.83 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.3707, allocations: 84.14 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.398e-06/0.3707, allocations: 11.88 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.3707, allocations: 13.72 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3709, allocations: 322.8 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.3709, allocations: 0 / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.779e-05/0.3709, allocations: 17.7 kB / 1.289 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.11e-05/0.3709, allocations: 25.72 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3709, allocations: 0 / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.18e-05/0.371, allocations: 49.62 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.371, allocations: 8 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3711, allocations: 4 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3711, allocations: 0 / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.285e-05/0.3711, allocations: 4 kB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3711, allocations: 0 / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.3711, allocations: 8.062 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.3711, allocations: 0 / 1.289 GB, free: 5.18 MB / 0.9825 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.462e-05/0.3712, allocations: 117.8 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.3713, allocations: 7.891 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.3714, allocations: 120.9 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.67e-05/0.3715, allocations: 180.2 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-05/0.3716, allocations: 184.2 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.557e-05/0.3716, allocations: 176.3 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.3719, allocations: 384.2 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.404e-05/0.3719, allocations: 105 kB / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.255e-05/0.372, allocations: 101 kB / 1.291 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.859e-05/0.3721, allocations: 184.2 kB / 1.291 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.396e-05/0.3722, allocations: 176.5 kB / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.952e-05/0.3722, allocations: 196.2 kB / 1.291 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-05/0.3723, allocations: 180.2 kB / 1.291 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.3725, allocations: 311.7 kB / 1.292 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.3726, allocations: 109 kB / 1.292 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.3727, allocations: 184.2 kB / 1.292 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.3728, allocations: 101 kB / 1.292 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.253e-05/0.3729, allocations: 184.2 kB / 1.292 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.373, allocations: 104.9 kB / 1.292 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.444e-05/0.373, allocations: 87.28 kB / 1.292 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.373, allocations: 0 / 1.292 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000246/0.3733, allocations: 19.88 kB / 1.293 GB, free: 1.84 MB / 0.9825 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.0005595/0.3739, allocations: 0.8204 MB / 1.293 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.165e-05/0.3739, allocations: 11.94 kB / 1.293 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3739, allocations: 0 / 1.293 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.3739, allocations: 4 kB / 1.293 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/0.3745, allocations: 459.9 kB / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.3757, allocations: 1.336 MB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.376, allocations: 0.6768 MB / 1.296 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.944e-05/0.3761, allocations: 4 kB / 1.296 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.3761, allocations: 7.438 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.3761, allocations: 0 / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.4038, allocations: 1.606 MB / 1.297 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.37, allocations: 2.578 kB / 1.297 GB, free: 12.91 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.356653646998893]