Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001431/0.001431, allocations: 112.6 kB / 16.37 MB, free: 6 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.001558/0.001558, allocations: 196 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.444/2.444, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 58.42 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2973, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002424/0.2998, allocations: 1.398 MB / 1.028 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003437/0.3032, allocations: 2.909 MB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.349e-05/0.3033, allocations: 4 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.894e-05/0.3034, allocations: 11.92 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.3035, allocations: 35.81 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.3041, allocations: 191.1 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.3043, allocations: 239.5 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.3044, allocations: 4 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.3045, allocations: 95.84 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.3047, allocations: 119.7 kB / 1.032 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.3047, allocations: 12 kB / 1.032 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003713/0.3051, allocations: 139.8 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.158e-05/0.3052, allocations: 83.77 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.3053, allocations: 95.62 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.3057, allocations: 275.2 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3057, allocations: 4 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3057, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.3057, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 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.0007873/0.3065, allocations: 0.5222 MB / 1.033 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.3065, allocations: 16.03 kB / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.3066, allocations: 20.73 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.3069, allocations: 236 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.03e-05/0.307, allocations: 24.36 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.307, allocations: 20.38 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006038/0.3076, allocations: 301.1 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.3076, allocations: 0 / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.3077, allocations: 4 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3077, allocations: 4 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.3091, allocations: 0.7452 MB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.3094, allocations: 309.1 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.311, allocations: 0.6722 MB / 1.035 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004749/0.3115, allocations: 228.7 kB / 1.035 GB, free: 9.242 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004048/0.3119, allocations: 392.3 kB / 1.036 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.3119, allocations: 42.44 kB / 1.036 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=37): time 1.463e-06/0.3119, allocations: 0 / 1.036 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37): time 0.001564/0.3135, allocations: 0.6441 MB / 1.036 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.3136, allocations: 59.34 kB / 1.036 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/0.3137, allocations: 133.6 kB / 1.036 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.3137, allocations: 33.7 kB / 1.036 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.862e-05/0.3137, allocations: 88.8 kB / 1.037 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.3138, allocations: 130.1 kB / 1.037 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.974e-05/0.3139, allocations: 69.67 kB / 1.037 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3141, allocations: 326.8 kB / 1.037 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004521/0.3145, allocations: 195.8 kB / 1.037 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/0.315, allocations: 196.6 kB / 1.037 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008353/0.3158, allocations: 364.5 kB / 1.038 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3158, allocations: 0 / 1.038 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00103/0.3169, allocations: 468.9 kB / 1.038 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3169, allocations: 8 kB / 1.038 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3169, allocations: 4 kB / 1.038 GB, free: 6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3169, allocations: 0 / 1.038 GB, free: 6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.3173, allocations: 95.84 kB / 1.038 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.3173, allocations: 4 kB / 1.038 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.3175, allocations: 43.72 kB / 1.038 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.3175, allocations: 15.98 kB / 1.038 GB, free: 5.844 MB / 0.8106 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.0001304/0.3177, allocations: 149.7 kB / 1.038 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.3177, allocations: 23.75 kB / 1.039 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.3189, allocations: 0.5141 MB / 1.039 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.3189, allocations: 4 kB / 1.039 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3189, allocations: 0 / 1.039 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3189, allocations: 7.922 kB / 1.039 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.3192, allocations: 325.2 kB / 1.039 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3192, allocations: 0 / 1.039 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003324/0.3196, allocations: 99.8 kB / 1.039 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.3196, allocations: 4 kB / 1.039 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.3196, allocations: 11.98 kB / 1.039 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3196, allocations: 0 / 1.039 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3196, allocations: 0 / 1.039 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.3207, allocations: 0.4926 MB / 1.04 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.3207, allocations: 100.8 kB / 1.04 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.3208, allocations: 4 kB / 1.04 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.321, allocations: 39.95 kB / 1.04 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/0.3212, allocations: 115.8 kB / 1.04 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.3212, allocations: 15.98 kB / 1.04 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.335e-05/0.3213, allocations: 99.27 kB / 1.04 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3213, allocations: 0 / 1.04 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003838/0.3217, allocations: 119.9 kB / 1.04 GB, free: 3.633 MB / 0.8106 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.0003174/0.322, allocations: 187.1 kB / 1.041 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.3231, allocations: 479.1 kB / 1.041 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3231, allocations: 0 / 1.041 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005331/0.3236, allocations: 267.4 kB / 1.041 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.324, allocations: 67.92 kB / 1.041 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007168/0.3247, allocations: 424 kB / 1.042 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.325, allocations: 0.7289 MB / 1.042 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003882/0.3254, allocations: 183.4 kB / 1.043 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.873e-05/0.3255, allocations: 39.41 kB / 1.043 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3255, allocations: 0 / 1.043 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of Templates: time 0.009186/0.3347, allocations: 5.273 MB / 1.048 GB, free: 12.03 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches