Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 114.4 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 192.6 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.226/2.226, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 64.33 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2792, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002586/0.2818, allocations: 1.384 MB / 0.9525 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003486/0.2853, allocations: 2.919 MB / 0.9553 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.389e-05/0.2854, allocations: 3.938 kB / 0.9553 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.165e-05/0.2855, allocations: 3.984 kB / 0.9553 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.2856, allocations: 39.81 kB / 0.9554 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.2861, allocations: 191.1 kB / 0.9555 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.2864, allocations: 243.5 kB / 0.9558 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.2864, allocations: 8 kB / 0.9558 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.417e-05/0.2865, allocations: 99.77 kB / 0.9559 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.2867, allocations: 119.8 kB / 0.956 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.2867, allocations: 15.94 kB / 0.956 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.287, allocations: 131.9 kB / 0.9561 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.297e-05/0.2871, allocations: 87.81 kB / 0.9562 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.2873, allocations: 99.58 kB / 0.9563 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.2876, allocations: 263.3 kB / 0.9566 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2876, allocations: 4 kB / 0.9566 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2876, allocations: 0 / 0.9566 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2876, allocations: 0 / 0.9566 GB, free: 2.441 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007676/0.2884, allocations: 0.5301 MB / 0.9571 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2885, allocations: 8.031 kB / 0.9571 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.2886, allocations: 24.73 kB / 0.9571 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.2889, allocations: 232 kB / 0.9573 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.2889, allocations: 24.36 kB / 0.9574 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.2889, allocations: 12.38 kB / 0.9574 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006148/0.2896, allocations: 297 kB / 0.9577 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2896, allocations: 4 kB / 0.9577 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.2896, allocations: 8 kB / 0.9577 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2896, allocations: 4 kB / 0.9577 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.2912, allocations: 0.749 MB / 0.9584 GB, free: 480 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.2917, allocations: 309 kB / 0.9587 GB, free: 120 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.2934, allocations: 0.6754 MB / 0.9594 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/0.2938, allocations: 228.7 kB / 0.9596 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003963/0.2942, allocations: 388.4 kB / 0.9599 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.2943, allocations: 38.5 kB / 0.96 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=37): time 1.854e-06/0.2943, allocations: 3.938 kB / 0.96 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37): time 0.001538/0.2958, allocations: 0.6545 MB / 0.9606 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.2959, allocations: 59.41 kB / 0.9607 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.296, allocations: 122.1 kB / 0.9608 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.2961, allocations: 33.64 kB / 0.9608 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.2962, allocations: 96.78 kB / 0.9609 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.2963, allocations: 126.1 kB / 0.961 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.406e-05/0.2964, allocations: 65.67 kB / 0.9611 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2966, allocations: 326.8 kB / 0.9614 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004408/0.297, allocations: 195.8 kB / 0.9616 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.2975, allocations: 199.9 kB / 0.9618 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008329/0.2983, allocations: 360.3 kB / 0.9621 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2983, allocations: 0 / 0.9621 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009853/0.2993, allocations: 468.9 kB / 0.9626 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2993, allocations: 8 kB / 0.9626 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2993, allocations: 7.984 kB / 0.9626 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2994, allocations: 0 / 0.9626 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.2997, allocations: 95.86 kB / 0.9627 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2997, allocations: 0 / 0.9627 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.2999, allocations: 51.7 kB / 0.9627 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.2999, allocations: 19.98 kB / 0.9628 GB, free: 11.79 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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.0001138/0.3001, allocations: 139.7 kB / 0.9629 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.3001, allocations: 23.73 kB / 0.9629 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.3012, allocations: 0.5025 MB / 0.9634 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3013, allocations: 4 kB / 0.9634 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3013, allocations: 4 kB / 0.9634 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3013, allocations: 3.984 kB / 0.9634 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.3016, allocations: 317.3 kB / 0.9637 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3016, allocations: 0 / 0.9637 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.3019, allocations: 99.8 kB / 0.9638 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3019, allocations: 3.984 kB / 0.9638 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.302, allocations: 8 kB / 0.9638 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.302, allocations: 8 kB / 0.9638 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.302, allocations: 0 / 0.9638 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.303, allocations: 0.4925 MB / 0.9643 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.3031, allocations: 100.8 kB / 0.9644 GB, free: 10 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.3031, allocations: 11.98 kB / 0.9644 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.3033, allocations: 35.97 kB / 0.9645 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.3035, allocations: 119.8 kB / 0.9646 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.3036, allocations: 12 kB / 0.9646 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.543e-05/0.3036, allocations: 106.9 kB / 0.9647 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3036, allocations: 0 / 0.9647 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003565/0.304, allocations: 115.9 kB / 0.9648 GB, free: 9.613 MB / 0.7481 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 (37): * Single equations (assignments): 37 * 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.0003104/0.3043, allocations: 187.1 kB / 0.965 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.3054, allocations: 471.3 kB / 0.9654 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3054, allocations: 0 / 0.9654 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005301/0.3059, allocations: 264.6 kB / 0.9657 GB, free: 8.699 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.3063, allocations: 81.8 kB / 0.9658 GB, free: 8.621 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007177/0.3071, allocations: 432.7 kB / 0.9662 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.3074, allocations: 0.7328 MB / 0.9669 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003833/0.3078, allocations: 185.3 kB / 0.9671 GB, free: 7.238 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.165e-05/0.3079, allocations: 35.42 kB / 0.9671 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of SimCode: time 4.11e-07/0.3079, allocations: 0 / 0.9671 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of Templates: time 0.008639/0.3165, allocations: 5.263 MB / 0.9722 GB, free: 2.008 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches