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.001271/0.001271, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.001425/0.001425, allocations: 215.3 kB / 22.25 MB, free: 5.133 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.366/1.366, allocations: 230.6 MB / 256 MB, free: 7.984 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 2.973/2.973, allocations: 0.49 GB / 0.7951 GB, free: 33.46 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.001993/0.001993, allocations: 73.59 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3375, allocations: 176.1 MB / 1.326 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005829/0.3433, allocations: 4.542 MB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002876/0.3462, allocations: 2.73 MB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.481e-05/0.3462, allocations: 0 / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.3465, allocations: 47.67 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.3467, allocations: 91.38 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.3478, allocations: 0.5204 MB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.3481, allocations: 239.9 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.3481, allocations: 9.75 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.3491, allocations: 0.4907 MB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.3493, allocations: 91.66 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.3493, allocations: 12 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009851/0.3503, allocations: 0.5459 MB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.581e-05/0.3503, allocations: 43.83 kB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.436e-05/0.3504, allocations: 71.66 kB / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005159/0.3509, allocations: 366.8 kB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3509, allocations: 0 / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3509, allocations: 0 / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3509, allocations: 0 / 1.336 GB, free: 7.598 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.0007022/0.3516, allocations: 443 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.3517, allocations: 8.031 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.3518, allocations: 24.84 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.3521, allocations: 162.2 kB / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.3521, allocations: 12.7 kB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.3521, allocations: 12.38 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.3525, allocations: 265 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3525, allocations: 0 / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.3525, allocations: 12 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.3526, allocations: 4 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000483/0.353, allocations: 444 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.3541, allocations: 0.9834 MB / 1.338 GB, free: 5.094 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.3543, allocations: 147 kB / 1.338 GB, free: 4.938 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.221e-05/0.3544, allocations: 55.28 kB / 1.338 GB, free: 4.883 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007058/0.3551, allocations: 471.7 kB / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.3552, allocations: 38.56 kB / 1.339 GB, free: 4.355 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.3552, allocations: 0 / 1.339 GB, free: 4.355 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003089/0.3555, allocations: 137.6 kB / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.3555, allocations: 67.28 kB / 1.339 GB, free: 4.137 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.3557, allocations: 164 kB / 1.339 GB, free: 3.961 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.3557, allocations: 33.7 kB / 1.339 GB, free: 3.922 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.047e-05/0.3558, allocations: 144 kB / 1.339 GB, free: 3.777 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.3558, allocations: 55.52 kB / 1.339 GB, free: 3.723 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/0.3559, allocations: 53.66 kB / 1.34 GB, free: 3.664 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.356, allocations: 330.8 kB / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-05/0.3561, allocations: 39.91 kB / 1.34 GB, free: 3.293 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.3562, allocations: 133.7 kB / 1.34 GB, free: 3.113 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.3565, allocations: 203.5 kB / 1.34 GB, free: 2.867 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3565, allocations: 0 / 1.34 GB, free: 2.867 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003123/0.3568, allocations: 217.1 kB / 1.34 GB, free: 2.648 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3568, allocations: 4 kB / 1.34 GB, free: 2.645 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.3568, allocations: 4 kB / 1.34 GB, free: 2.641 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.3568, allocations: 8 kB / 1.34 GB, free: 2.633 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.357, allocations: 60.31 kB / 1.34 GB, free: 2.574 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.527e-06/0.357, allocations: 8 kB / 1.34 GB, free: 2.566 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.3571, allocations: 27.78 kB / 1.34 GB, free: 2.539 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.3571, allocations: 19.98 kB / 1.341 GB, free: 2.52 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.0001058/0.3572, allocations: 129.7 kB / 1.341 GB, free: 2.383 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.3573, allocations: 15.91 kB / 1.341 GB, free: 2.367 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.3575, allocations: 153.6 kB / 1.341 GB, free: 2.215 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.3575, allocations: 3.938 kB / 1.341 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.3575, allocations: 0 / 1.341 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3576, allocations: 4 kB / 1.341 GB, free: 2.207 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.3578, allocations: 192.6 kB / 1.341 GB, free: 1.977 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.3578, allocations: 3.984 kB / 1.341 GB, free: 1.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.298e-05/0.3579, allocations: 27.88 kB / 1.341 GB, free: 1.945 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3579, allocations: 7.938 kB / 1.341 GB, free: 1.938 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3579, allocations: 4 kB / 1.341 GB, free: 1.934 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3579, allocations: 7.922 kB / 1.341 GB, free: 1.926 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3579, allocations: 0 / 1.341 GB, free: 1.926 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.3581, allocations: 215.4 kB / 1.341 GB, free: 1.699 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.3582, allocations: 35.81 kB / 1.341 GB, free: 1.664 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.3582, allocations: 0 / 1.341 GB, free: 1.664 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.3584, allocations: 19.92 kB / 1.341 GB, free: 1.645 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.3584, allocations: 11.97 kB / 1.341 GB, free: 1.633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.3584, allocations: 12 kB / 1.341 GB, free: 1.621 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.791e-05/0.3585, allocations: 120 kB / 1.341 GB, free: 1.504 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3585, allocations: 0 / 1.341 GB, free: 1.504 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003564/0.3589, allocations: 75.86 kB / 1.342 GB, free: 1.43 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.0002757/0.3591, allocations: 194.9 kB / 1.342 GB, free: 1.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.3594, allocations: 115.7 kB / 1.342 GB, free: 1.117 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3594, allocations: 0.9375 kB / 1.342 GB, free: 1.117 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.374e-05/0.3594, allocations: 42.52 kB / 1.342 GB, free: 1.078 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.3598, allocations: 47.89 kB / 1.342 GB, free: 1.031 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00064/0.3605, allocations: 356 kB / 1.342 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.3608, allocations: 0.7128 MB / 1.343 GB, free: 15.91 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.3609, allocations: 41.75 kB / 1.343 GB, free: 15.87 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.361, allocations: 27.44 kB / 1.343 GB, free: 15.84 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.361, allocations: 0 / 1.343 GB, free: 15.84 MB / 1.045 GB Notification: Performance of Templates: time 0.007106/0.3681, allocations: 3.529 MB / 1.346 GB, free: 12.35 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/jenkins/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.350421200040728]