Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001287/0.001287, allocations: 107.5 kB / 16.45 MB, free: 6.512 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.001398/0.001398, allocations: 209.7 kB / 19.42 MB, free: 3.648 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.391/1.391, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.088/3.088, allocations: 0.505 GB / 0.8066 GB, free: 23.07 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.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.002087/0.002087, allocations: 68.27 kB / 1.172 GB, free: 17.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3239, allocations: 180.2 MB / 1.348 GB, free: 9.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005445/0.3294, allocations: 3.807 MB / 1.351 GB, free: 6.125 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002002/0.3296, allocations: 147.5 kB / 1.352 GB, free: 5.98 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.765e-05/0.3296, allocations: 0 / 1.352 GB, free: 5.98 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.305e-05/0.3297, allocations: 7.938 kB / 1.352 GB, free: 5.973 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.745e-05/0.3298, allocations: 15.91 kB / 1.352 GB, free: 5.957 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.3301, allocations: 86.25 kB / 1.352 GB, free: 5.875 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.156e-05/0.3301, allocations: 35.84 kB / 1.352 GB, free: 5.84 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.3302, allocations: 4 kB / 1.352 GB, free: 5.836 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.821e-05/0.3302, allocations: 15.92 kB / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.48e-05/0.3303, allocations: 11.98 kB / 1.352 GB, free: 5.809 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.3303, allocations: 0 / 1.352 GB, free: 5.809 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005241/0.3308, allocations: 207.7 kB / 1.352 GB, free: 5.605 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.264e-05/0.3309, allocations: 4 kB / 1.352 GB, free: 5.602 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.3309, allocations: 19.92 kB / 1.352 GB, free: 5.582 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.331, allocations: 63.8 kB / 1.352 GB, free: 5.52 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.331, allocations: 0 / 1.352 GB, free: 5.52 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.72e-07/0.331, allocations: 0 / 1.352 GB, free: 5.52 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.331, allocations: 0 / 1.352 GB, free: 5.52 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.0003895/0.3314, allocations: 343.3 kB / 1.352 GB, free: 5.137 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3315, allocations: 15.98 kB / 1.352 GB, free: 5.121 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.3315, allocations: 30.75 kB / 1.352 GB, free: 5.082 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.3315, allocations: 0.9375 kB / 1.352 GB, free: 5.082 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.3317, allocations: 168.3 kB / 1.353 GB, free: 4.879 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.3317, allocations: 34.2 kB / 1.353 GB, free: 4.84 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.3317, allocations: 8.125 kB / 1.353 GB, free: 4.832 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.3318, allocations: 45.61 kB / 1.353 GB, free: 4.781 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.3319, allocations: 0 / 1.353 GB, free: 4.781 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3319, allocations: 4 kB / 1.353 GB, free: 4.777 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.3319, allocations: 0 / 1.353 GB, free: 4.777 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.332e-05/0.3319, allocations: 15.98 kB / 1.353 GB, free: 4.762 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.3323, allocations: 341.9 kB / 1.353 GB, free: 4.359 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 3.698e-05/0.3324, allocations: 18.61 kB / 1.353 GB, free: 4.332 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.3324, allocations: 8.922 kB / 1.353 GB, free: 4.32 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.364e-05/0.3325, allocations: 81.11 kB / 1.353 GB, free: 4.223 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.3325, allocations: 34.5 kB / 1.353 GB, free: 4.18 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3325, allocations: 0 / 1.353 GB, free: 4.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001345/0.3327, allocations: 45.69 kB / 1.353 GB, free: 4.129 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.3327, allocations: 51.41 kB / 1.353 GB, free: 4.066 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.3328, allocations: 101.8 kB / 1.353 GB, free: 3.957 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.3328, allocations: 29.7 kB / 1.353 GB, free: 3.922 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.3328, allocations: 88.08 kB / 1.353 GB, free: 3.832 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-06/0.3329, allocations: 0 / 1.353 GB, free: 3.832 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.3329, allocations: 13.72 kB / 1.353 GB, free: 3.812 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.333, allocations: 322.9 kB / 1.354 GB, free: 3.488 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.333, allocations: 7.984 kB / 1.354 GB, free: 3.48 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.713e-05/0.3331, allocations: 17.66 kB / 1.354 GB, free: 3.457 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.378e-05/0.3331, allocations: 17.72 kB / 1.354 GB, free: 3.434 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.3331, allocations: 0 / 1.354 GB, free: 3.434 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.612e-05/0.3332, allocations: 57.58 kB / 1.354 GB, free: 3.371 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3332, allocations: 8.062 kB / 1.354 GB, free: 3.363 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.3332, allocations: 0 / 1.354 GB, free: 3.363 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.3332, allocations: 0 / 1.354 GB, free: 3.363 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.139e-05/0.3333, allocations: 11.94 kB / 1.354 GB, free: 3.352 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3333, allocations: 0 / 1.354 GB, free: 3.352 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.911e-05/0.3333, allocations: 3.984 kB / 1.354 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.3333, allocations: 7.984 kB / 1.354 GB, free: 3.34 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.381e-05/0.3334, allocations: 109.8 kB / 1.354 GB, free: 3.223 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.3334, allocations: 0 / 1.354 GB, free: 3.223 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.3335, allocations: 128.9 kB / 1.354 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-05/0.3336, allocations: 184.2 kB / 1.354 GB, free: 2.898 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.477e-05/0.3337, allocations: 180.2 kB / 1.354 GB, free: 2.715 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-05/0.3337, allocations: 176.3 kB / 1.355 GB, free: 2.535 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.334, allocations: 409.2 kB / 1.355 GB, free: 2.078 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-05/0.334, allocations: 108.9 kB / 1.355 GB, free: 1.965 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.3341, allocations: 105 kB / 1.355 GB, free: 1.855 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.465e-05/0.3341, allocations: 192.1 kB / 1.355 GB, free: 1.66 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-05/0.3342, allocations: 180.3 kB / 1.356 GB, free: 1.477 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.097e-05/0.3343, allocations: 176.3 kB / 1.356 GB, free: 1.297 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-05/0.3344, allocations: 184.2 kB / 1.356 GB, free: 1.109 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.3345, allocations: 311.7 kB / 1.356 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-05/0.3346, allocations: 186 kB / 1.356 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.538e-05/0.3347, allocations: 180.2 kB / 1.357 GB, free: 400 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.3348, allocations: 112.9 kB / 1.357 GB, free: 280 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.3349, allocations: 184.3 kB / 1.357 GB, free: 88 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-05/0.335, allocations: 104.9 kB / 1.357 GB, free: 15.98 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.139e-05/0.335, allocations: 83.28 kB / 1.357 GB, free: 15.89 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.335, allocations: 4 kB / 1.357 GB, free: 15.89 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000245/0.3353, allocations: 19.92 kB / 1.357 GB, free: 15.87 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.0004957/0.3358, allocations: 0.8204 MB / 1.358 GB, free: 15.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.724e-05/0.3358, allocations: 11.92 kB / 1.358 GB, free: 15.01 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.3358, allocations: 4 kB / 1.358 GB, free: 15.01 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.3358, allocations: 0 / 1.358 GB, free: 15.01 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.3363, allocations: 459.8 kB / 1.358 GB, free: 14.55 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.3374, allocations: 1.317 MB / 1.36 GB, free: 13.15 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.3377, allocations: 0.6768 MB / 1.36 GB, free: 12.45 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.055e-05/0.3377, allocations: 4 kB / 1.36 GB, free: 12.45 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.3378, allocations: 19.38 kB / 1.36 GB, free: 12.43 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.3378, allocations: 0 / 1.36 GB, free: 12.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.3631, allocations: 1.508 MB / 1.362 GB, free: 11.06 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.79/8.153, allocations: 12.12 kB / 1.362 GB, free: 11.06 MB / 1.061 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_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_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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: 14.492692191153765]