Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.001693/0.001693, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002094/0.002094, allocations: 210.7 kB / 22.99 MB, free: 4.984 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.21/3.21, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [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.002032/0.002032, allocations: 66.34 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3239, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006846/0.3308, allocations: 4.24 MB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002982/0.3337, allocations: 2.442 MB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.3338, allocations: 4 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.3341, allocations: 47.67 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.3343, allocations: 103.4 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.3355, allocations: 0.5072 MB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.3357, allocations: 239.9 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.3358, allocations: 5.75 kB / 1.335 GB, free: 9.305 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.3368, allocations: 498.6 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.337, allocations: 95.59 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.337, allocations: 8 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009191/0.3379, allocations: 491 kB / 1.336 GB, free: 8.234 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.338, allocations: 27.91 kB / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.641e-05/0.3381, allocations: 71.72 kB / 1.336 GB, free: 8.137 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005405/0.3386, allocations: 346.9 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3386, allocations: 0 / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3386, allocations: 11.94 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3386, allocations: 0 / 1.336 GB, free: 7.785 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007689/0.3394, allocations: 445.4 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.3394, allocations: 8.031 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.3396, allocations: 24.83 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.3399, allocations: 154.3 kB / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.3399, allocations: 12.69 kB / 1.337 GB, free: 7.098 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.3399, allocations: 16.38 kB / 1.337 GB, free: 7.082 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005114/0.3404, allocations: 466.6 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3404, allocations: 8 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.3404, allocations: 4 kB / 1.337 GB, free: 6.543 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.3405, allocations: 15.98 kB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005182/0.341, allocations: 420 kB / 1.337 GB, free: 6.117 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.3421, allocations: 0.8367 MB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.3424, allocations: 147.5 kB / 1.338 GB, free: 5.074 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.3425, allocations: 50.2 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007829/0.3433, allocations: 451.9 kB / 1.339 GB, free: 4.562 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.3433, allocations: 34.56 kB / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.3433, allocations: 0 / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003459/0.3437, allocations: 151.7 kB / 1.339 GB, free: 4.367 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.3437, allocations: 51.41 kB / 1.339 GB, free: 4.305 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.3439, allocations: 164.8 kB / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.3439, allocations: 29.7 kB / 1.339 GB, free: 4.098 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.57e-05/0.344, allocations: 148.1 kB / 1.339 GB, free: 3.949 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.344, allocations: 55.52 kB / 1.34 GB, free: 3.895 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-05/0.3441, allocations: 53.7 kB / 1.34 GB, free: 3.836 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3442, allocations: 326.8 kB / 1.34 GB, free: 3.508 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.238e-05/0.3443, allocations: 31.98 kB / 1.34 GB, free: 3.477 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.3445, allocations: 145.6 kB / 1.34 GB, free: 3.285 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.3447, allocations: 199.3 kB / 1.34 GB, free: 3.043 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3447, allocations: 0 / 1.34 GB, free: 3.043 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003538/0.3451, allocations: 213.2 kB / 1.34 GB, free: 2.828 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3451, allocations: 11.98 kB / 1.34 GB, free: 2.816 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3451, allocations: 4 kB / 1.34 GB, free: 2.812 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3451, allocations: 4 kB / 1.34 GB, free: 2.809 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.3453, allocations: 55.92 kB / 1.341 GB, free: 2.754 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.3454, allocations: 15.91 kB / 1.341 GB, free: 2.738 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.3455, allocations: 28.22 kB / 1.341 GB, free: 2.711 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.3455, allocations: 20 kB / 1.341 GB, free: 2.691 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001218/0.3456, allocations: 129.7 kB / 1.341 GB, free: 2.555 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.3457, allocations: 15.91 kB / 1.341 GB, free: 2.539 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/0.346, allocations: 154.2 kB / 1.341 GB, free: 2.387 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.346, allocations: 3.984 kB / 1.341 GB, free: 2.383 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.346, allocations: 3.938 kB / 1.341 GB, free: 2.379 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.346, allocations: 0 / 1.341 GB, free: 2.379 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.3462, allocations: 157.2 kB / 1.341 GB, free: 2.195 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3462, allocations: 0 / 1.341 GB, free: 2.195 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.3464, allocations: 31.98 kB / 1.341 GB, free: 2.164 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3464, allocations: 4 kB / 1.341 GB, free: 2.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3464, allocations: 7.984 kB / 1.341 GB, free: 2.152 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3464, allocations: 4 kB / 1.341 GB, free: 2.148 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3464, allocations: 0 / 1.341 GB, free: 2.148 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.3467, allocations: 225.7 kB / 1.341 GB, free: 1.914 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/0.3468, allocations: 27.88 kB / 1.341 GB, free: 1.887 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.3468, allocations: 4 kB / 1.341 GB, free: 1.883 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.347, allocations: 11.98 kB / 1.341 GB, free: 1.871 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.347, allocations: 11.98 kB / 1.341 GB, free: 1.859 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.347, allocations: 11.94 kB / 1.341 GB, free: 1.848 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.839e-05/0.3471, allocations: 120.3 kB / 1.341 GB, free: 1.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3471, allocations: 0 / 1.341 GB, free: 1.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004261/0.3476, allocations: 83.8 kB / 1.342 GB, free: 1.648 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0004003/0.348, allocations: 186.9 kB / 1.342 GB, free: 1.453 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002928/0.3483, allocations: 108.5 kB / 1.342 GB, free: 1.348 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3483, allocations: 0 / 1.342 GB, free: 1.348 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.232e-05/0.3484, allocations: 51.8 kB / 1.342 GB, free: 1.297 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.3488, allocations: 31.97 kB / 1.342 GB, free: 1.266 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008031/0.3496, allocations: 351 kB / 1.342 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.3497, allocations: 106.8 kB / 1.342 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001621/0.3498, allocations: 53.2 kB / 1.342 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.531e-05/0.3499, allocations: 23.44 kB / 1.342 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3499, allocations: 0 / 1.342 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of Templates: time 0.007934/0.3578, allocations: 3.29 MB / 1.346 GB, free: 13.47 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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: 8.760932090997812]