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.00106/0.00106, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001372, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.378/1.378, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.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.335/2.335, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6767/0.6771, allocations: 142.4 MB / 0.9557 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001309/0.6784, allocations: 1.112 MB / 0.9568 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002843/0.6813, allocations: 2.88 MB / 0.9596 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.937e-05/0.6813, allocations: 0 / 0.9596 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.036e-05/0.6814, allocations: 5.719 kB / 0.9596 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.86e-05/0.6815, allocations: 41.14 kB / 0.9596 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.6819, allocations: 156.9 kB / 0.9598 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.6822, allocations: 330.7 kB / 0.9601 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.6822, allocations: 11.97 kB / 0.9601 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.098e-05/0.6823, allocations: 88.7 kB / 0.9602 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.6825, allocations: 136.6 kB / 0.9603 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.6825, allocations: 10.44 kB / 0.9603 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003494/0.6829, allocations: 152.2 kB / 0.9605 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.817e-05/0.683, allocations: 88.41 kB / 0.9606 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.721e-05/0.6831, allocations: 117.4 kB / 0.9607 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.6833, allocations: 186.5 kB / 0.9609 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.6833, allocations: 1.375 kB / 0.9609 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6833, allocations: 0 / 0.9609 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.6833, allocations: 0 / 0.9609 GB, free: 3.77 MB / 0.7169 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.0007113/0.684, allocations: 0.5229 MB / 0.9614 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.6841, allocations: 13.62 kB / 0.9614 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.6842, allocations: 18.38 kB / 0.9614 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.6844, allocations: 240.8 kB / 0.9616 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.47e-05/0.6845, allocations: 23.48 kB / 0.9617 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.6845, allocations: 18 kB / 0.9617 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007271/0.6853, allocations: 320.9 kB / 0.962 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.6853, allocations: 7.938 kB / 0.962 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.6853, allocations: 9.016 kB / 0.962 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.6853, allocations: 3.969 kB / 0.962 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.6868, allocations: 0.8051 MB / 0.9628 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.6871, allocations: 309.4 kB / 0.9631 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.6889, allocations: 0.7762 MB / 0.9638 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005159/0.6894, allocations: 261.4 kB / 0.9641 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002997/0.6897, allocations: 390 kB / 0.9645 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.6897, allocations: 40.5 kB / 0.9645 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.403e-06/0.6898, allocations: 1.062 kB / 0.9645 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001734/0.6915, allocations: 0.7365 MB / 0.9652 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/0.6915, allocations: 58.72 kB / 0.9653 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.055e-05/0.6916, allocations: 128.4 kB / 0.9654 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.6916, allocations: 35.2 kB / 0.9654 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.716e-05/0.6917, allocations: 95.62 kB / 0.9655 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.739e-05/0.6917, allocations: 117.8 kB / 0.9656 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.6918, allocations: 30.89 kB / 0.9657 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.6919, allocations: 327.8 kB / 0.966 GB, free: 316 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/0.6924, allocations: 228.7 kB / 0.9662 GB, free: 228 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/0.6929, allocations: 225 kB / 0.9664 GB, free: 148 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009982/0.6939, allocations: 427.1 kB / 0.9668 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6939, allocations: 1.031 kB / 0.9668 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001207/0.6951, allocations: 0.5195 MB / 0.9673 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.6951, allocations: 6.094 kB / 0.9673 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.6951, allocations: 0 / 0.9673 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.6952, allocations: 2.219 kB / 0.9673 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.6956, allocations: 113.8 kB / 0.9674 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.6956, allocations: 1.344 kB / 0.9674 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.6958, allocations: 70.55 kB / 0.9675 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.6958, allocations: 16.17 kB / 0.9675 GB, free: 15.68 MB / 0.7325 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.0001395/0.696, allocations: 136.6 kB / 0.9677 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.696, allocations: 23.92 kB / 0.9677 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.6974, allocations: 0.5677 MB / 0.9682 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.6974, allocations: 4.812 kB / 0.9682 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6974, allocations: 0 / 0.9682 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.6974, allocations: 0 / 0.9682 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.6977, allocations: 317.8 kB / 0.9685 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6977, allocations: 0 / 0.9685 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003698/0.6981, allocations: 121.3 kB / 0.9687 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.6981, allocations: 2.312 kB / 0.9687 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.6982, allocations: 12.05 kB / 0.9687 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.6982, allocations: 1.531 kB / 0.9687 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6982, allocations: 0 / 0.9687 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.6994, allocations: 0.5526 MB / 0.9692 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/0.6994, allocations: 102.9 kB / 0.9693 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.6995, allocations: 9.906 kB / 0.9693 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.6997, allocations: 48.91 kB / 0.9694 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/0.6999, allocations: 119.1 kB / 0.9695 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.7, allocations: 8.781 kB / 0.9695 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.831e-05/0.7, allocations: 107.2 kB / 0.9696 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7, allocations: 1.094 kB / 0.9696 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003934/0.7004, allocations: 116.2 kB / 0.9697 GB, free: 14.37 MB / 0.7325 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.0003372/0.7008, allocations: 185.5 kB / 0.9699 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.702, allocations: 0.5182 MB / 0.9704 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.702, allocations: 0 / 0.9704 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006/0.7026, allocations: 290.4 kB / 0.9707 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.7031, allocations: 85.86 kB / 0.9707 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007806/0.7039, allocations: 0.5327 MB / 0.9713 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.7042, allocations: 0.7296 MB / 0.972 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.7043, allocations: 47.89 kB / 0.972 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.7043, allocations: 0 / 0.972 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.007373/0.7117, allocations: 4.709 MB / 0.9766 GB, free: 9.555 MB / 0.7325 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 -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