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.001042/0.001042, allocations: 98.88 kB / 16.02 MB, free: 76 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.001302/0.001302, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.376/1.376, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.844/2.844, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003093, allocations: 5.938 kB / 0.9034 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.301, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001471/0.3025, allocations: 1.114 MB / 1.06 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003607/0.3061, allocations: 2.883 MB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.443e-05/0.3062, allocations: 0 / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.902e-05/0.3063, allocations: 3.938 kB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.3064, allocations: 51.8 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000539/0.307, allocations: 151.4 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003239/0.3073, allocations: 343.3 kB / 1.064 GB, free: 424 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.3074, allocations: 4 kB / 1.064 GB, free: 420 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.3075, allocations: 83.92 kB / 1.064 GB, free: 336 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.3076, allocations: 135.7 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.3077, allocations: 16 kB / 1.064 GB, free: 184 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00041/0.3081, allocations: 155.7 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.3082, allocations: 75.97 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.3083, allocations: 125.3 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.3086, allocations: 191.7 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3086, allocations: 0 / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3086, allocations: 0 / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3087, allocations: 4 kB / 1.064 GB, free: 15.63 MB / 0.8262 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.0008261/0.3095, allocations: 0.5184 MB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3095, allocations: 11.97 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.3097, allocations: 16.75 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.3099, allocations: 244 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.31, allocations: 28.36 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.31, allocations: 12.38 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006821/0.3107, allocations: 321.2 kB / 1.066 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.3107, allocations: 0 / 1.066 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.3107, allocations: 4 kB / 1.066 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3107, allocations: 4 kB / 1.066 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.3123, allocations: 0.8076 MB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.3127, allocations: 313.1 kB / 1.067 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.3145, allocations: 0.7737 MB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005682/0.3151, allocations: 260.7 kB / 1.068 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004086/0.3155, allocations: 392.3 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.3156, allocations: 42.5 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.403e-06/0.3156, allocations: 0 / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.00184/0.3174, allocations: 0.7418 MB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.3175, allocations: 55.41 kB / 1.069 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3176, allocations: 130.1 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.3176, allocations: 33.7 kB / 1.069 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.3177, allocations: 92.8 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.3178, allocations: 130.1 kB / 1.069 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.3178, allocations: 29.7 kB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.3179, allocations: 330.8 kB / 1.07 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005238/0.3185, allocations: 219.8 kB / 1.07 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000537/0.319, allocations: 235.5 kB / 1.07 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009706/0.32, allocations: 425.2 kB / 1.07 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.32, allocations: 0 / 1.07 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001158/0.3212, allocations: 0.5161 MB / 1.071 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3212, allocations: 5.719 kB / 1.071 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3212, allocations: 4 kB / 1.071 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3212, allocations: 0 / 1.071 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.3216, allocations: 107.9 kB / 1.071 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3216, allocations: 0 / 1.071 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.3218, allocations: 71.7 kB / 1.071 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.3219, allocations: 15.92 kB / 1.071 GB, free: 8.512 MB / 0.8262 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.0001281/0.322, allocations: 145.8 kB / 1.071 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.322, allocations: 23.73 kB / 1.071 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.3233, allocations: 0.5652 MB / 1.072 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.3233, allocations: 11.98 kB / 1.072 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3233, allocations: 0 / 1.072 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3234, allocations: 0 / 1.072 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.3237, allocations: 321.1 kB / 1.072 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3237, allocations: 0 / 1.072 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000355/0.324, allocations: 111.8 kB / 1.072 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.3241, allocations: 4 kB / 1.072 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.3241, allocations: 15.94 kB / 1.072 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3241, allocations: 3.984 kB / 1.072 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3241, allocations: 0 / 1.072 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.3253, allocations: 0.547 MB / 1.073 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.3253, allocations: 100.8 kB / 1.073 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.3254, allocations: 8 kB / 1.073 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.3256, allocations: 47.97 kB / 1.073 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/0.3258, allocations: 119.8 kB / 1.073 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.3259, allocations: 11.98 kB / 1.073 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.041e-05/0.3259, allocations: 102.1 kB / 1.073 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3259, allocations: 0 / 1.073 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003764/0.3263, allocations: 111.9 kB / 1.073 GB, free: 6.188 MB / 0.8262 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.0003876/0.3267, allocations: 195 kB / 1.073 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.3279, allocations: 0.5152 MB / 1.074 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3279, allocations: 0 / 1.074 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005882/0.3285, allocations: 295.8 kB / 1.074 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.329, allocations: 78.12 kB / 1.074 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007554/0.3297, allocations: 0.5155 MB / 1.075 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.33, allocations: 0.7331 MB / 1.076 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.3302, allocations: 51.39 kB / 1.076 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.3302, allocations: 0 / 1.076 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of Templates: time 0.007955/0.3381, allocations: 4.707 MB / 1.08 GB, free: 15.1 MB / 0.8419 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 -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