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.00138/0.00138, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001776/0.001776, allocations: 213.1 kB / 23.04 MB, free: 4.852 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.154/3.154, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] 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.002018/0.002018, allocations: 72.89 kB / 1.155 GB, free: 25.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3697, allocations: 176.1 MB / 1.327 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.008897/0.3786, allocations: 4.244 MB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005069/0.3836, allocations: 2.442 MB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.3838, allocations: 4 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.384, allocations: 43.69 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003878/0.3844, allocations: 103.3 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.3863, allocations: 0.4977 MB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004079/0.3867, allocations: 247.9 kB / 1.335 GB, free: 9.285 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.506e-05/0.3868, allocations: 5.75 kB / 1.335 GB, free: 9.281 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.3884, allocations: 491.9 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.3887, allocations: 91.59 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.3888, allocations: 8 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.3903, allocations: 475.1 kB / 1.336 GB, free: 8.238 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.188e-05/0.3904, allocations: 35.89 kB / 1.336 GB, free: 8.203 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.3905, allocations: 67.72 kB / 1.336 GB, free: 8.137 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008648/0.3914, allocations: 350.9 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3914, allocations: 7.938 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3914, allocations: 0 / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.3914, allocations: 4 kB / 1.336 GB, free: 7.781 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.001034/0.3924, allocations: 441.4 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.3925, allocations: 8.031 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002693/0.3927, allocations: 24.84 kB / 1.337 GB, free: 7.285 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.3931, allocations: 158.2 kB / 1.337 GB, free: 7.105 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.3931, allocations: 8.703 kB / 1.337 GB, free: 7.098 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.3932, allocations: 16.38 kB / 1.337 GB, free: 7.082 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000889/0.3941, allocations: 474.6 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.3941, allocations: 0 / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.3941, allocations: 8 kB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.525e-05/0.3942, allocations: 8 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009718/0.3951, allocations: 420 kB / 1.338 GB, free: 6.121 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.3968, allocations: 0.8407 MB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/0.3973, allocations: 145.2 kB / 1.339 GB, free: 5.078 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.3974, allocations: 56.88 kB / 1.339 GB, free: 5.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/0.3985, allocations: 443.9 kB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.3985, allocations: 42.55 kB / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 2.304e-06/0.3985, allocations: 0 / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0005018/0.399, allocations: 143.4 kB / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.3991, allocations: 51.41 kB / 1.339 GB, free: 4.309 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.3993, allocations: 165.6 kB / 1.339 GB, free: 4.137 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.3993, allocations: 29.7 kB / 1.339 GB, free: 4.102 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.3995, allocations: 152 kB / 1.34 GB, free: 3.949 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.447e-05/0.3996, allocations: 55.53 kB / 1.34 GB, free: 3.895 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.3997, allocations: 49.7 kB / 1.34 GB, free: 3.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.3999, allocations: 326.8 kB / 1.34 GB, free: 3.512 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.4, allocations: 35.97 kB / 1.34 GB, free: 3.477 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.4002, allocations: 137.7 kB / 1.34 GB, free: 3.293 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.4006, allocations: 201.5 kB / 1.34 GB, free: 3.047 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.4006, allocations: 4 kB / 1.34 GB, free: 3.043 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005289/0.4012, allocations: 211.5 kB / 1.341 GB, free: 2.832 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.4012, allocations: 8 kB / 1.341 GB, free: 2.824 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.4012, allocations: 4 kB / 1.341 GB, free: 2.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.4012, allocations: 7.938 kB / 1.341 GB, free: 2.812 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.4015, allocations: 59.91 kB / 1.341 GB, free: 2.754 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.099e-05/0.4015, allocations: 12.39 kB / 1.341 GB, free: 2.742 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.4017, allocations: 43.7 kB / 1.341 GB, free: 2.699 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.4018, allocations: 8 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.0001668/0.4019, allocations: 133.7 kB / 1.341 GB, free: 2.551 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.309e-05/0.402, allocations: 19.89 kB / 1.341 GB, free: 2.531 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004274/0.4024, allocations: 154.2 kB / 1.341 GB, free: 2.379 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.4025, allocations: 0 / 1.341 GB, free: 2.379 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.4025, allocations: 3.938 kB / 1.341 GB, free: 2.375 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.4025, allocations: 4 kB / 1.341 GB, free: 2.371 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.4028, allocations: 153.2 kB / 1.341 GB, free: 2.191 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4028, allocations: 0 / 1.341 GB, free: 2.191 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.403, allocations: 35.98 kB / 1.341 GB, free: 2.156 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.403, allocations: 0 / 1.341 GB, free: 2.156 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.403, allocations: 4 kB / 1.341 GB, free: 2.152 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.403, allocations: 3.984 kB / 1.341 GB, free: 2.148 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.403, allocations: 0 / 1.341 GB, free: 2.148 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.4034, allocations: 221.8 kB / 1.341 GB, free: 1.918 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.575e-05/0.4035, allocations: 27.88 kB / 1.341 GB, free: 1.891 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.4035, allocations: 7.984 kB / 1.341 GB, free: 1.883 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.4038, allocations: 15.98 kB / 1.341 GB, free: 1.867 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.4039, allocations: 11.98 kB / 1.341 GB, free: 1.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.4039, allocations: 15.92 kB / 1.341 GB, free: 1.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001278/0.404, allocations: 117.3 kB / 1.342 GB, free: 1.727 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/0.404, allocations: 0 / 1.342 GB, free: 1.727 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007059/0.4047, allocations: 79.81 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.0004203/0.4051, allocations: 179 kB / 1.342 GB, free: 1.461 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003461/0.4055, allocations: 116 kB / 1.342 GB, free: 1.348 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4055, allocations: 3.938 kB / 1.342 GB, free: 1.344 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.4056, allocations: 47.86 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.000618/0.4062, allocations: 35.97 kB / 1.342 GB, free: 1.262 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000995/0.4072, allocations: 382.5 kB / 1.342 GB, free: 0.8516 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.4074, allocations: 98.88 kB / 1.342 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.408e-05/0.4074, allocations: 35.42 kB / 1.342 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4074, allocations: 0 / 1.342 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of Templates: time 0.008411/0.4159, allocations: 3.11 MB / 1.346 GB, free: 13.61 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 -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: 11.751738453982398]