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.001492/0.001492, 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.001634/0.001634, allocations: 213 kB / 22.24 MB, free: 5.258 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.578/1.578, allocations: 230.6 MB / 256 MB, free: 7.797 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.339/3.339, allocations: 0.4892 GB / 0.7943 GB, free: 35.42 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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [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.002159/0.002159, allocations: 67.38 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3867, allocations: 176.1 MB / 1.326 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006393/0.3931, allocations: 3.624 MB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002382/0.3933, allocations: 147.5 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.774e-05/0.3934, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.3935, allocations: 3.938 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.433e-05/0.3936, allocations: 11.92 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.394, allocations: 95.62 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.518e-05/0.3941, allocations: 35.91 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.3941, allocations: 0 / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.757e-05/0.3941, allocations: 27.84 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.879e-05/0.3942, allocations: 7.984 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.3942, allocations: 0 / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006309/0.3949, allocations: 215.3 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.3949, allocations: 4 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.3949, allocations: 15.91 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.3951, allocations: 51.94 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3951, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3951, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.3951, allocations: 4 kB / 1.33 GB, free: 13.65 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.0004849/0.3956, allocations: 258.3 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3957, allocations: 8.031 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.3957, allocations: 4.938 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3958, allocations: 118.4 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.3959, allocations: 55.97 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.3959, allocations: 4.375 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.3961, allocations: 67.33 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3961, allocations: 3.938 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3961, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.3962, allocations: 8 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.808e-05/0.3962, allocations: 11.98 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.3967, allocations: 204.6 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.608e-05/0.3967, allocations: 22.52 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.3967, allocations: 4.859 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.515e-05/0.3968, allocations: 12.05 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/0.3968, allocations: 38.56 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3968, allocations: 0 / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.00017/0.397, allocations: 37.59 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.3971, allocations: 51.41 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.3972, allocations: 105.8 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.3972, allocations: 25.7 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.3973, allocations: 88.08 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.009e-06/0.3973, allocations: 4 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.3973, allocations: 21.83 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3975, allocations: 318.8 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.3975, allocations: 4 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-05/0.3975, allocations: 21.66 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.641e-05/0.3976, allocations: 17.7 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3976, allocations: 7.938 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.466e-05/0.3977, allocations: 49.69 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3977, allocations: 4 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3977, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3977, allocations: 4.062 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.76e-05/0.3977, allocations: 8 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.3978, allocations: 3.984 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.991e-05/0.3978, allocations: 7.891 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3978, allocations: 4 kB / 1.331 GB, free: 11.88 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.0001136/0.3979, allocations: 118.2 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.3979, allocations: 4.281 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.3981, allocations: 113 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.064e-05/0.3982, allocations: 188.2 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-05/0.3982, allocations: 184.3 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.614e-05/0.3983, allocations: 184.2 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.3986, allocations: 364.7 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.645e-05/0.3987, allocations: 105 kB / 1.332 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.332e-05/0.3987, allocations: 108.9 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.018e-05/0.3988, allocations: 176.3 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.519e-05/0.3989, allocations: 180.3 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.869e-05/0.399, allocations: 180.2 kB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.792e-05/0.3991, allocations: 176.3 kB / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.3993, allocations: 315.7 kB / 1.333 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.3993, allocations: 105 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.3995, allocations: 188.2 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.3996, allocations: 113 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.656e-05/0.3997, allocations: 180.2 kB / 1.334 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/0.3998, allocations: 101 kB / 1.334 GB, free: 8.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.056e-05/0.3998, allocations: 87.27 kB / 1.334 GB, free: 8.594 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3998, allocations: 0 / 1.334 GB, free: 8.594 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002597/0.4001, allocations: 19.94 kB / 1.334 GB, free: 8.574 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.0002205/0.4003, allocations: 186.5 kB / 1.334 GB, free: 8.383 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.753e-05/0.4004, allocations: 11.94 kB / 1.334 GB, free: 8.371 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4004, allocations: 0 / 1.334 GB, free: 8.371 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.4004, allocations: 0 / 1.334 GB, free: 8.371 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.401, allocations: 471.8 kB / 1.335 GB, free: 7.906 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.4013, allocations: 182.1 kB / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.955e-05/0.4014, allocations: 63.28 kB / 1.335 GB, free: 7.621 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.445e-05/0.4014, allocations: 14.81 kB / 1.335 GB, free: 7.609 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.4015, allocations: 11.44 kB / 1.335 GB, free: 7.598 MB / 1.029 GB Notification: Performance of SimCode: time 2.5e-07/0.4015, allocations: 0 / 1.335 GB, free: 7.598 MB / 1.029 GB Notification: Performance of Templates: time 0.00351/0.405, allocations: 0.6728 MB / 1.336 GB, free: 6.934 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/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: 9.515916304662824]