Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.EthyleneGlycolWater,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.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,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.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009853/0.0009855, allocations: 91.61 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.001101/0.001102, allocations: 177 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.399/1.399, allocations: 223.3 MB / 241 MB, free: 5.23 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.471/2.471, allocations: 390.9 MB / 0.667 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003361, allocations: 12.28 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6715/0.6718, allocations: 142.4 MB / 0.9557 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001375/0.6732, allocations: 1.111 MB / 0.9568 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003271/0.6765, allocations: 2.878 MB / 0.9596 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.6766, allocations: 0 / 0.9596 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.342e-05/0.6767, allocations: 14.08 kB / 0.9596 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.6768, allocations: 36.05 kB / 0.9596 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005674/0.6774, allocations: 161 kB / 0.9598 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.6777, allocations: 331.3 kB / 0.9601 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.6778, allocations: 11.52 kB / 0.9601 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.6779, allocations: 83.89 kB / 0.9602 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.6781, allocations: 141.6 kB / 0.9603 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.6781, allocations: 11 kB / 0.9603 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004369/0.6786, allocations: 142.3 kB / 0.9605 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.478e-05/0.6787, allocations: 98.12 kB / 0.9606 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.6788, allocations: 111.8 kB / 0.9607 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.6791, allocations: 191.2 kB / 0.9609 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6791, allocations: 1.375 kB / 0.9609 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6791, allocations: 0 / 0.9609 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.6791, allocations: 0 / 0.9609 GB, free: 3.766 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.0007761/0.6799, allocations: 0.527 MB / 0.9614 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.68, allocations: 8.594 kB / 0.9614 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.6801, allocations: 18.66 kB / 0.9614 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.6803, allocations: 243.6 kB / 0.9616 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/0.6804, allocations: 24.27 kB / 0.9617 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.6804, allocations: 17.84 kB / 0.9617 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006615/0.6811, allocations: 316.3 kB / 0.962 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.6811, allocations: 4 kB / 0.962 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.6811, allocations: 9.891 kB / 0.962 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.6811, allocations: 7.453 kB / 0.962 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.6826, allocations: 0.8053 MB / 0.9628 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.6829, allocations: 313.5 kB / 0.9631 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.6846, allocations: 0.7737 MB / 0.9638 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005276/0.6852, allocations: 260.4 kB / 0.9641 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003165/0.6855, allocations: 390.1 kB / 0.9645 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.6855, allocations: 45.2 kB / 0.9645 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.393e-06/0.6855, allocations: 0 / 0.9645 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001645/0.6872, allocations: 0.7355 MB / 0.9652 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.6872, allocations: 60.47 kB / 0.9653 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.48e-05/0.6873, allocations: 129 kB / 0.9654 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.6873, allocations: 30.67 kB / 0.9654 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.537e-05/0.6874, allocations: 87.8 kB / 0.9655 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.98e-05/0.6874, allocations: 124.7 kB / 0.9656 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.6875, allocations: 35.86 kB / 0.9657 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.867e-05/0.6875, allocations: 327.9 kB / 0.966 GB, free: 308 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005113/0.6881, allocations: 224.8 kB / 0.9662 GB, free: 224 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/0.6886, allocations: 224.6 kB / 0.9664 GB, free: 144 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009665/0.6896, allocations: 427.7 kB / 0.9668 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.6896, allocations: 0 / 0.9668 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001197/0.6908, allocations: 0.5203 MB / 0.9673 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.6908, allocations: 4.156 kB / 0.9673 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6908, allocations: 0.9062 kB / 0.9673 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.6908, allocations: 1.938 kB / 0.9673 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.6912, allocations: 112.5 kB / 0.9674 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.6912, allocations: 2.125 kB / 0.9674 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.6915, allocations: 70.52 kB / 0.9675 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.6915, allocations: 12.84 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.0001378/0.6917, allocations: 139.8 kB / 0.9677 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.6917, allocations: 24.12 kB / 0.9677 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.6931, allocations: 0.5645 MB / 0.9682 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.6931, allocations: 4.031 kB / 0.9682 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6931, allocations: 3.938 kB / 0.9682 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.6931, allocations: 5.297 kB / 0.9682 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/0.6934, allocations: 309.4 kB / 0.9685 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6935, allocations: 0 / 0.9685 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.6938, allocations: 112.9 kB / 0.9686 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.6938, allocations: 1.438 kB / 0.9686 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.6939, allocations: 16.14 kB / 0.9687 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.6939, allocations: 1.5 kB / 0.9687 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.6939, allocations: 0 / 0.9687 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.6952, allocations: 0.562 MB / 0.9692 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.6953, allocations: 102.5 kB / 0.9693 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.6953, allocations: 9.312 kB / 0.9693 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.6955, allocations: 49.05 kB / 0.9694 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/0.6958, allocations: 114.8 kB / 0.9695 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.6958, allocations: 21.36 kB / 0.9695 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.97e-05/0.6959, allocations: 99.14 kB / 0.9696 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6959, allocations: 0 / 0.9696 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004468/0.6964, allocations: 120.6 kB / 0.9697 GB, free: 14.36 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.0004132/0.6968, allocations: 196.4 kB / 0.9699 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001239/0.6981, allocations: 0.5116 MB / 0.9704 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.6981, allocations: 3.938 kB / 0.9704 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006163/0.6987, allocations: 294.7 kB / 0.9707 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.6991, allocations: 74.38 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.0008114/0.6999, allocations: 0.5329 MB / 0.9713 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.7003, allocations: 0.7303 MB / 0.972 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.7004, allocations: 47.62 kB / 0.972 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.7004, allocations: 0 / 0.972 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.008524/0.709, allocations: 4.706 MB / 0.9766 GB, free: 9.574 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches