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.001543/0.001543, allocations: 104.9 kB / 16.35 MB, free: 6.285 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.001464/0.001464, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.16 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.302/2.302, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 61.55 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3104, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002538/0.313, allocations: 1.39 MB / 0.9525 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003617/0.3166, allocations: 2.919 MB / 0.9553 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.3167, allocations: 0 / 0.9553 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.728e-05/0.3168, allocations: 11.92 kB / 0.9553 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.317, allocations: 35.81 kB / 0.9554 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005939/0.3176, allocations: 187.1 kB / 0.9555 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002865/0.3179, allocations: 243.5 kB / 0.9558 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.081e-05/0.3179, allocations: 8 kB / 0.9558 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.528e-05/0.318, allocations: 95.83 kB / 0.9559 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.3182, allocations: 123.7 kB / 0.956 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.3182, allocations: 12 kB / 0.956 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003628/0.3186, allocations: 131.9 kB / 0.9561 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.616e-05/0.3187, allocations: 91.75 kB / 0.9562 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.3188, allocations: 91.64 kB / 0.9563 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.3192, allocations: 267.2 kB / 0.9566 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3192, allocations: 0 / 0.9566 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3192, allocations: 0 / 0.9566 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3192, allocations: 4 kB / 0.9566 GB, free: 2.477 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.0008066/0.32, allocations: 0.53 MB / 0.9571 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.32, allocations: 8.031 kB / 0.9571 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.3202, allocations: 24.75 kB / 0.9571 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.3204, allocations: 240 kB / 0.9573 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/0.3205, allocations: 24.36 kB / 0.9574 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.3205, allocations: 12.38 kB / 0.9574 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005798/0.3211, allocations: 297 kB / 0.9577 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3211, allocations: 3.984 kB / 0.9577 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.3212, allocations: 12 kB / 0.9577 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3212, allocations: 4 kB / 0.9577 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.3226, allocations: 0.7452 MB / 0.9584 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.3229, allocations: 305 kB / 0.9587 GB, free: 152 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.3244, allocations: 0.6715 MB / 0.9593 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/0.3249, allocations: 240.5 kB / 0.9596 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000443/0.3254, allocations: 388.3 kB / 0.9599 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.3254, allocations: 38.5 kB / 0.96 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=37): time 1.463e-06/0.3254, allocations: 4 kB / 0.96 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37): time 0.001566/0.327, allocations: 0.6507 MB / 0.9606 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.3271, allocations: 55.41 kB / 0.9607 GB, free: 14 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.3272, allocations: 129.8 kB / 0.9608 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.3272, allocations: 29.7 kB / 0.9608 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.3273, allocations: 96.8 kB / 0.9609 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.3274, allocations: 130.1 kB / 0.961 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.3275, allocations: 61.69 kB / 0.9611 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3277, allocations: 326.8 kB / 0.9614 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004396/0.3281, allocations: 195.7 kB / 0.9616 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004402/0.3286, allocations: 203.9 kB / 0.9618 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008119/0.3294, allocations: 360.3 kB / 0.9621 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3294, allocations: 0 / 0.9621 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009799/0.3304, allocations: 468.9 kB / 0.9626 GB, free: 12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3304, allocations: 8 kB / 0.9626 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3304, allocations: 0 / 0.9626 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3304, allocations: 7.938 kB / 0.9626 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/0.3308, allocations: 99.86 kB / 0.9627 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3308, allocations: 0 / 0.9627 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.331, allocations: 51.7 kB / 0.9627 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.331, allocations: 15.98 kB / 0.9628 GB, free: 11.82 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.0001366/0.3312, allocations: 137.8 kB / 0.9629 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.3312, allocations: 27.73 kB / 0.9629 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.3323, allocations: 0.5102 MB / 0.9634 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3324, allocations: 4 kB / 0.9634 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3324, allocations: 0 / 0.9634 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3324, allocations: 0 / 0.9634 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.3327, allocations: 309.3 kB / 0.9637 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3327, allocations: 0 / 0.9637 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000333/0.3331, allocations: 103.8 kB / 0.9638 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3331, allocations: 0 / 0.9638 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.3331, allocations: 15.97 kB / 0.9638 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.3331, allocations: 8 kB / 0.9638 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3331, allocations: 0 / 0.9638 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.3341, allocations: 496.4 kB / 0.9643 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/0.3342, allocations: 104.8 kB / 0.9644 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.3343, allocations: 8 kB / 0.9644 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.3344, allocations: 31.97 kB / 0.9644 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/0.3346, allocations: 127.7 kB / 0.9646 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.3347, allocations: 19.92 kB / 0.9646 GB, free: 9.848 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.766e-05/0.3347, allocations: 95.27 kB / 0.9647 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3348, allocations: 0 / 0.9647 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003885/0.3351, allocations: 115.9 kB / 0.9648 GB, free: 9.641 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.0003427/0.3355, allocations: 195 kB / 0.965 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.3365, allocations: 467.3 kB / 0.9654 GB, free: 8.98 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3365, allocations: 0 / 0.9654 GB, free: 8.98 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005034/0.337, allocations: 260.6 kB / 0.9657 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.3374, allocations: 79.92 kB / 0.9657 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008043/0.3383, allocations: 430.2 kB / 0.9662 GB, free: 8.203 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.3386, allocations: 0.7289 MB / 0.9669 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000419/0.339, allocations: 188.8 kB / 0.967 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.3392, allocations: 35.42 kB / 0.9671 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of SimCode: time 2.846e-06/0.3392, allocations: 0 / 0.9671 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of Templates: time 0.009911/0.3491, allocations: 5.268 MB / 0.9722 GB, free: 2.035 MB / 0.7481 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 -s cvode -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