Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00176/0.00176, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002741/0.002741, allocations: 214.8 kB / 22.25 MB, free: 5.129 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.183/3.183, allocations: 0.49 GB / 0.7951 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_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.002035/0.002035, allocations: 72.14 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4182, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.007523/0.4257, allocations: 3.827 MB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002713/0.426, allocations: 155.5 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.548e-05/0.426, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.4261, allocations: 7.938 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.658e-05/0.4262, allocations: 7.984 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.4266, allocations: 94.44 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.791e-05/0.4267, allocations: 35.78 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.164e-05/0.4268, allocations: 4 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.62e-05/0.4268, allocations: 19.97 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.642e-05/0.4269, allocations: 11.98 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.4269, allocations: 0 / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007125/0.4276, allocations: 243.4 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.4277, allocations: 15.92 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.4277, allocations: 4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.4279, allocations: 63.86 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4279, allocations: 3.938 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 8.92e-07/0.4279, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.4279, allocations: 4 kB / 1.33 GB, free: 13.42 MB / 1.029 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.0004513/0.4283, allocations: 262.3 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4284, allocations: 8.031 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.806e-05/0.4284, allocations: 30.75 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.4284, allocations: 8.938 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.4286, allocations: 106.5 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.761e-05/0.4287, allocations: 59.97 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.4287, allocations: 8.109 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.4288, allocations: 37.69 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4288, allocations: 3.938 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.4288, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.4289, allocations: 7.984 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.032e-05/0.4289, allocations: 15.94 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.4294, allocations: 236 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 3.615e-05/0.4294, allocations: 14.58 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.4294, allocations: 8.922 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.518e-05/0.4295, allocations: 7.984 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.4295, allocations: 34.56 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.113e-06/0.4295, allocations: 4 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001601/0.4297, allocations: 41.59 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.4297, allocations: 51.41 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.4298, allocations: 109.8 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.4298, allocations: 25.7 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.4299, allocations: 84.09 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.601e-06/0.4299, allocations: 0 / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.4299, allocations: 21.7 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.4301, allocations: 318.9 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.4301, allocations: 7.938 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.689e-05/0.4301, allocations: 17.72 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.4302, allocations: 25.64 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4302, allocations: 0 / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.474e-05/0.4303, allocations: 49.64 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4303, allocations: 7.984 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4303, allocations: 4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4303, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.749e-05/0.4303, allocations: 4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.4303, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.4304, allocations: 3.953 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.4304, allocations: 7.984 kB / 1.332 GB, free: 11.61 MB / 1.029 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 0.0001137/0.4305, allocations: 113.8 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.4305, allocations: 8.062 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.4307, allocations: 120.9 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-05/0.4307, allocations: 176.3 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.489e-05/0.4308, allocations: 180.3 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.01e-05/0.4309, allocations: 184.2 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.4312, allocations: 384.2 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.057e-05/0.4313, allocations: 112.9 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.612e-05/0.4313, allocations: 105 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.294e-05/0.4314, allocations: 176.3 kB / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.234e-05/0.4315, allocations: 180.2 kB / 1.333 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-05/0.4316, allocations: 176.3 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.629e-05/0.4317, allocations: 196.1 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.4319, allocations: 303.8 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.4319, allocations: 104.9 kB / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.432, allocations: 184.2 kB / 1.334 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.4322, allocations: 112.9 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/0.4323, allocations: 176.3 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.028e-05/0.4323, allocations: 109 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.74e-05/0.4324, allocations: 83.27 kB / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4324, allocations: 3.938 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00025/0.4326, allocations: 19.94 kB / 1.335 GB, free: 8.27 MB / 1.029 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.0005518/0.4332, allocations: 0.832 MB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.393e-05/0.4333, allocations: 19.94 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4333, allocations: 0 / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.4333, allocations: 0 / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005237/0.4338, allocations: 461.7 kB / 1.336 GB, free: 6.938 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.435, allocations: 1.329 MB / 1.337 GB, free: 5.523 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.4354, allocations: 0.6729 MB / 1.338 GB, free: 4.824 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.392e-05/0.4354, allocations: 15.73 kB / 1.338 GB, free: 4.812 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.4355, allocations: 11.44 kB / 1.338 GB, free: 4.801 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4355, allocations: 0 / 1.338 GB, free: 4.801 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.4648, allocations: 1.589 MB / 1.34 GB, free: 3.344 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.3, allocations: 6.062 kB / 1.34 GB, free: 3.344 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.358616432000417]