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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.000945/0.000945, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007205/0.007205, allocations: 169.9 kB / 16.26 MB, free: 6.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.48/1.48, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003869, allocations: 8 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7228/0.7232, allocations: 142.4 MB / 0.955 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001606/0.7249, allocations: 1.112 MB / 0.9561 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003427/0.7283, allocations: 2.877 MB / 0.9589 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.7284, allocations: 1.375 kB / 0.9589 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.644e-05/0.7285, allocations: 7.922 kB / 0.9589 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.7286, allocations: 41.48 kB / 0.959 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006149/0.7293, allocations: 160.7 kB / 0.9591 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.7296, allocations: 327.9 kB / 0.9594 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.7297, allocations: 6.484 kB / 0.9594 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.7298, allocations: 93.11 kB / 0.9595 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.73, allocations: 132.7 kB / 0.9597 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.7301, allocations: 11.16 kB / 0.9597 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004815/0.7305, allocations: 155 kB / 0.9598 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.7307, allocations: 89 kB / 0.9599 GB, free: 4 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.7308, allocations: 117.2 kB / 0.96 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.7313, allocations: 277.1 kB / 0.9603 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7313, allocations: 0 / 0.9603 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7313, allocations: 0 / 0.9603 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.7313, allocations: 0 / 0.9603 GB, free: 3.777 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.0008371/0.7321, allocations: 0.5263 MB / 0.9608 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.7322, allocations: 8.812 kB / 0.9608 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.7323, allocations: 22.7 kB / 0.9608 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.7326, allocations: 236.3 kB / 0.961 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.118e-05/0.7327, allocations: 24.11 kB / 0.9611 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.7327, allocations: 14.22 kB / 0.9611 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000713/0.7334, allocations: 324.3 kB / 0.9614 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.7334, allocations: 0 / 0.9614 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.7335, allocations: 6.031 kB / 0.9614 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.7335, allocations: 3 kB / 0.9614 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.7351, allocations: 0.8054 MB / 0.9622 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.7354, allocations: 305.5 kB / 0.9625 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/0.7375, allocations: 0.7879 MB / 0.9633 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006226/0.7381, allocations: 258.3 kB / 0.9635 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004435/0.7385, allocations: 389.5 kB / 0.9639 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.7386, allocations: 40.75 kB / 0.9639 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.724e-06/0.7386, allocations: 4 kB / 0.9639 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001936/0.7405, allocations: 0.737 MB / 0.9646 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.7406, allocations: 58.34 kB / 0.9647 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.7407, allocations: 121.9 kB / 0.9648 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.7407, allocations: 30.7 kB / 0.9648 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.7408, allocations: 91.09 kB / 0.9649 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.7409, allocations: 122.5 kB / 0.965 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.7409, allocations: 34.3 kB / 0.9651 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.741, allocations: 328.2 kB / 0.9654 GB, free: 332 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/0.7416, allocations: 225.9 kB / 0.9656 GB, free: 248 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005293/0.7421, allocations: 224.9 kB / 0.9658 GB, free: 168 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009754/0.7431, allocations: 426.4 kB / 0.9662 GB, free: 4 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.7431, allocations: 0 / 0.9662 GB, free: 4 kB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001252/0.7443, allocations: 0.5243 MB / 0.9667 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.7444, allocations: 6.969 kB / 0.9667 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.7444, allocations: 0 / 0.9667 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.7444, allocations: 1.219 kB / 0.9667 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.7448, allocations: 121.2 kB / 0.9669 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.7448, allocations: 2.25 kB / 0.9669 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.7451, allocations: 66.25 kB / 0.9669 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.7451, allocations: 16.92 kB / 0.9669 GB, free: 15.7 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.000143/0.7453, allocations: 139.3 kB / 0.9671 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.7453, allocations: 20.84 kB / 0.9671 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.7467, allocations: 0.5705 MB / 0.9676 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.7467, allocations: 4.562 kB / 0.9676 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.7467, allocations: 0 / 0.9676 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.7467, allocations: 0 / 0.9676 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.7471, allocations: 313.6 kB / 0.9679 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.7471, allocations: 5.281 kB / 0.968 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.7475, allocations: 116.7 kB / 0.9681 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.7475, allocations: 1.188 kB / 0.9681 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.7475, allocations: 12.33 kB / 0.9681 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.7475, allocations: 1.094 kB / 0.9681 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.7476, allocations: 4 kB / 0.9681 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.7489, allocations: 0.5537 MB / 0.9686 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.621e-05/0.749, allocations: 102.5 kB / 0.9687 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.7491, allocations: 7.062 kB / 0.9687 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.7493, allocations: 48.39 kB / 0.9688 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/0.7496, allocations: 118.3 kB / 0.9689 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.7496, allocations: 16.86 kB / 0.9689 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.152e-05/0.7497, allocations: 99.89 kB / 0.969 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7497, allocations: 0 / 0.969 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004757/0.7502, allocations: 116.9 kB / 0.9691 GB, free: 14.38 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.0005218/0.7507, allocations: 201.4 kB / 0.9693 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.752, allocations: 0.51 MB / 0.9698 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7521, allocations: 0 / 0.9698 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006827/0.7527, allocations: 295.5 kB / 0.9701 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004866/0.7532, allocations: 68.72 kB / 0.9701 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009523/0.7542, allocations: 0.5016 MB / 0.9706 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.7547, allocations: 0.7352 MB / 0.9714 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005131/0.7552, allocations: 186.5 kB / 0.9715 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.7553, allocations: 34.98 kB / 0.9716 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.7553, allocations: 0 / 0.9716 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of Templates: time 0.01038/0.7657, allocations: 4.836 MB / 0.9763 GB, free: 9.188 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches