Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002042/0.002042, 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.002924/0.002924, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.598/1.598, allocations: 230.6 MB / 256 MB, free: 7.773 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.518/3.518, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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_latest_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_latest_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.002118/0.002118, allocations: 70.59 kB / 1.186 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3975, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.008284/0.4058, allocations: 4.234 MB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003755/0.4095, allocations: 2.457 MB / 1.37 GB, free: 6.832 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.4097, allocations: 0 / 1.37 GB, free: 6.832 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.4101, allocations: 47.69 kB / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004181/0.4105, allocations: 99.36 kB / 1.371 GB, free: 6.688 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.4121, allocations: 0.5102 MB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004133/0.4126, allocations: 231.9 kB / 1.371 GB, free: 5.953 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.406e-05/0.4126, allocations: 9.75 kB / 1.371 GB, free: 5.941 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.4141, allocations: 494.5 kB / 1.372 GB, free: 5.457 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.4143, allocations: 91.59 kB / 1.372 GB, free: 5.367 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.4143, allocations: 4 kB / 1.372 GB, free: 5.363 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.4156, allocations: 483.1 kB / 1.372 GB, free: 4.891 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.93e-05/0.4157, allocations: 35.84 kB / 1.372 GB, free: 4.855 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.4158, allocations: 71.7 kB / 1.372 GB, free: 4.785 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009591/0.4168, allocations: 342.9 kB / 1.373 GB, free: 4.449 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4168, allocations: 4 kB / 1.373 GB, free: 4.445 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4168, allocations: 3.938 kB / 1.373 GB, free: 4.441 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.4168, allocations: 0 / 1.373 GB, free: 4.441 MB / 1.061 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.00108/0.4179, allocations: 442.8 kB / 1.373 GB, free: 3.977 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.4179, allocations: 12.03 kB / 1.373 GB, free: 3.965 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.4181, allocations: 20.84 kB / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.4185, allocations: 158.2 kB / 1.373 GB, free: 3.766 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.4185, allocations: 12.7 kB / 1.373 GB, free: 3.754 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.4186, allocations: 16.36 kB / 1.373 GB, free: 3.738 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/0.4192, allocations: 470.5 kB / 1.374 GB, free: 3.207 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4193, allocations: 3.938 kB / 1.374 GB, free: 3.203 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.4193, allocations: 8 kB / 1.374 GB, free: 3.195 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/0.4193, allocations: 4 kB / 1.374 GB, free: 3.191 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000582/0.4199, allocations: 427.5 kB / 1.374 GB, free: 2.773 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.4211, allocations: 0.8328 MB / 1.375 GB, free: 1.891 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.4215, allocations: 148.5 kB / 1.375 GB, free: 1.738 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.4216, allocations: 52.88 kB / 1.375 GB, free: 1.684 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009361/0.4225, allocations: 451.9 kB / 1.376 GB, free: 1.223 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/0.4226, allocations: 38.56 kB / 1.376 GB, free: 1.176 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.4226, allocations: 3.938 kB / 1.376 GB, free: 1.172 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003875/0.423, allocations: 136.7 kB / 1.376 GB, free: 1.035 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.4231, allocations: 63.33 kB / 1.376 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.4233, allocations: 168 kB / 1.376 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.4233, allocations: 29.7 kB / 1.376 GB, free: 0.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.4234, allocations: 140.1 kB / 1.376 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.167e-05/0.4235, allocations: 55.53 kB / 1.376 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.66e-05/0.4236, allocations: 61.62 kB / 1.376 GB, free: 500 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002435/0.4238, allocations: 326.8 kB / 1.377 GB, free: 164 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-05/0.4239, allocations: 31.98 kB / 1.377 GB, free: 132 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.4241, allocations: 142.2 kB / 1.377 GB, free: 15.94 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.4244, allocations: 197.5 kB / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4244, allocations: 0 / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003861/0.4248, allocations: 219.6 kB / 1.377 GB, free: 15.48 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4248, allocations: 4 kB / 1.377 GB, free: 15.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.4248, allocations: 4 kB / 1.377 GB, free: 15.47 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.4248, allocations: 4 kB / 1.377 GB, free: 15.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.425, allocations: 63.91 kB / 1.377 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.425, allocations: 8.406 kB / 1.377 GB, free: 15.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.4252, allocations: 27.83 kB / 1.377 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.4252, allocations: 16 kB / 1.377 GB, free: 15.36 MB / 1.076 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.0001459/0.4253, allocations: 133.7 kB / 1.377 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.675e-05/0.4254, allocations: 15.91 kB / 1.377 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.4257, allocations: 154.1 kB / 1.378 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.4257, allocations: 4 kB / 1.378 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.4257, allocations: 3.938 kB / 1.378 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.4257, allocations: 0 / 1.378 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.426, allocations: 149.2 kB / 1.378 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.426, allocations: 4 kB / 1.378 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.4261, allocations: 35.98 kB / 1.378 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4261, allocations: 0 / 1.378 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.4261, allocations: 7.984 kB / 1.378 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4261, allocations: 0 / 1.378 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4261, allocations: 3.938 kB / 1.378 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.4265, allocations: 233.8 kB / 1.378 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.418e-05/0.4266, allocations: 23.92 kB / 1.378 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.4266, allocations: 4 kB / 1.378 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.4268, allocations: 11.98 kB / 1.378 GB, free: 14.53 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.4268, allocations: 19.91 kB / 1.378 GB, free: 14.51 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.4269, allocations: 12 kB / 1.378 GB, free: 14.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001085/0.427, allocations: 109.5 kB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.427, allocations: 0 / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004946/0.4275, allocations: 87.77 kB / 1.378 GB, free: 14.31 MB / 1.076 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.0005406/0.428, allocations: 175 kB / 1.378 GB, free: 14.12 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003173/0.4283, allocations: 108.1 kB / 1.379 GB, free: 14.02 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.4283, allocations: 4 kB / 1.379 GB, free: 14.02 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-05/0.4284, allocations: 47.84 kB / 1.379 GB, free: 13.97 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.4288, allocations: 31.97 kB / 1.379 GB, free: 13.94 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.4299, allocations: 356.7 kB / 1.379 GB, free: 13.56 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.43, allocations: 98.88 kB / 1.379 GB, free: 13.45 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000174/0.4302, allocations: 57.19 kB / 1.379 GB, free: 13.39 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.4302, allocations: 23.44 kB / 1.379 GB, free: 13.36 MB / 1.076 GB Notification: Performance of SimCode: time 6.51e-07/0.4302, allocations: 0 / 1.379 GB, free: 13.36 MB / 1.076 GB Notification: Performance of Templates: time 0.009751/0.44, allocations: 3.231 MB / 1.382 GB, free: 10.2 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.734578628093004]