Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.PropyleneGlycolWater,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_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,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_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009679/0.0009677, allocations: 99.27 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.001165/0.001165, allocations: 183.4 kB / 16.92 MB, free: 6.918 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.385/1.385, 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 10.1.0-maint.10.0.x/package.mo): time 2.606/2.606, allocations: 437.8 MB / 0.7128 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004565, allocations: 11.98 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7485/0.749, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001688/0.7507, allocations: 1.105 MB / 1.025 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004408/0.7552, allocations: 2.879 MB / 1.028 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.436e-05/0.7552, allocations: 4 kB / 1.028 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.7554, allocations: 11.92 kB / 1.028 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.7555, allocations: 31.81 kB / 1.028 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005991/0.7561, allocations: 167.3 kB / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.7565, allocations: 331.3 kB / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.7566, allocations: 4 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.7567, allocations: 83.92 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.7569, allocations: 147.6 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.049e-05/0.757, allocations: 12 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000424/0.7574, allocations: 143.8 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.7576, allocations: 91.81 kB / 1.029 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.7577, allocations: 121.3 kB / 1.029 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.7581, allocations: 185.6 kB / 1.029 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.7581, allocations: 0 / 1.029 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7581, allocations: 0 / 1.029 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.7581, allocations: 0 / 1.029 GB, free: 10.55 MB / 0.7794 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.0008908/0.759, allocations: 0.5262 MB / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.759, allocations: 8.031 kB / 1.029 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.7592, allocations: 20.75 kB / 1.029 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.7595, allocations: 243.9 kB / 1.03 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.108e-05/0.7595, allocations: 24.36 kB / 1.03 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.7596, allocations: 12.38 kB / 1.03 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008054/0.7604, allocations: 321.1 kB / 1.03 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.7604, allocations: 3.938 kB / 1.03 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.7605, allocations: 8 kB / 1.03 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.7605, allocations: 0 / 1.03 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.7622, allocations: 0.8154 MB / 1.031 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.7627, allocations: 301.1 kB / 1.031 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/0.7647, allocations: 0.7809 MB / 1.032 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006305/0.7653, allocations: 260.7 kB / 1.032 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004423/0.7658, allocations: 392.3 kB / 1.032 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.7658, allocations: 38.56 kB / 1.032 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 6.282e-06/0.7659, allocations: 0 / 1.032 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001939/0.7678, allocations: 0.7432 MB / 1.033 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.7679, allocations: 55.41 kB / 1.033 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.7681, allocations: 127.3 kB / 1.033 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.7681, allocations: 29.7 kB / 1.033 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.7681, allocations: 88.8 kB / 1.033 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.7683, allocations: 126.2 kB / 1.034 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-05/0.7684, allocations: 37.7 kB / 1.034 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7685, allocations: 326.8 kB / 1.034 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005604/0.7691, allocations: 219.8 kB / 1.034 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006276/0.7697, allocations: 228.8 kB / 1.034 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.7708, allocations: 424.8 kB / 1.035 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.7708, allocations: 0 / 1.035 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001331/0.7721, allocations: 0.5162 MB / 1.035 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.7721, allocations: 6.031 kB / 1.035 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.7721, allocations: 7.938 kB / 1.035 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.7722, allocations: 4 kB / 1.035 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.7725, allocations: 111.8 kB / 1.035 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.991e-05/0.7726, allocations: 4 kB / 1.035 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.7728, allocations: 67.64 kB / 1.035 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.7729, allocations: 16 kB / 1.036 GB, free: 3.43 MB / 0.7794 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.0001929/0.7731, allocations: 138.3 kB / 1.036 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.7731, allocations: 27.75 kB / 1.036 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.7746, allocations: 0.5611 MB / 1.036 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.7746, allocations: 4 kB / 1.036 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.7746, allocations: 0 / 1.036 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.7747, allocations: 7.984 kB / 1.036 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.7751, allocations: 321.2 kB / 1.037 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.7751, allocations: 3.938 kB / 1.037 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/0.7755, allocations: 103.9 kB / 1.037 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.7755, allocations: 4 kB / 1.037 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.7755, allocations: 19.86 kB / 1.037 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.7755, allocations: 0 / 1.037 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.7755, allocations: 4 kB / 1.037 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.7767, allocations: 0.5472 MB / 1.037 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.7768, allocations: 100.8 kB / 1.037 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.442e-05/0.7769, allocations: 4 kB / 1.037 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.7771, allocations: 51.95 kB / 1.037 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.7773, allocations: 115.8 kB / 1.037 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.766e-05/0.7774, allocations: 15.98 kB / 1.037 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001223/0.7775, allocations: 103.1 kB / 1.038 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7775, allocations: 4 kB / 1.038 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004376/0.7779, allocations: 119.9 kB / 1.038 GB, free: 1.094 MB / 0.7794 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.0004036/0.7784, allocations: 191 kB / 1.038 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.7795, allocations: 0.515 MB / 1.038 GB, free: 392 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7796, allocations: 0 / 1.038 GB, free: 392 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005866/0.7801, allocations: 295.4 kB / 1.039 GB, free: 96 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.7806, allocations: 71.88 kB / 1.039 GB, free: 24 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007635/0.7813, allocations: 0.5194 MB / 1.039 GB, free: 15.47 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.7816, allocations: 0.737 MB / 1.04 GB, free: 14.71 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.7818, allocations: 47.41 kB / 1.04 GB, free: 14.66 MB / 0.795 GB Notification: Performance of SimCode: time 3.01e-07/0.7818, allocations: 0 / 1.04 GB, free: 14.66 MB / 0.795 GB Notification: Performance of Templates: time 0.007252/0.7891, allocations: 4.716 MB / 1.045 GB, free: 10 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches