Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001001/0.001001, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.001318/0.001318, allocations: 173.1 kB / 16.27 MB, free: 6.656 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.484/1.484, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.797/2.797, allocations: 443.3 MB / 0.7175 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003731, allocations: 9.438 kB / 0.8796 GB, free: 41.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3525, allocations: 155.2 MB / 1.031 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002047/0.3546, allocations: 1.107 MB / 1.032 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004536/0.3592, allocations: 2.883 MB / 1.035 GB, free: 320 kB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.068e-05/0.3593, allocations: 0 / 1.035 GB, free: 320 kB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.3595, allocations: 7.984 kB / 1.035 GB, free: 312 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.3596, allocations: 35.81 kB / 1.035 GB, free: 276 kB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007353/0.3604, allocations: 159.4 kB / 1.035 GB, free: 116 kB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.3608, allocations: 335.4 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.877e-05/0.3608, allocations: 7.984 kB / 1.036 GB, free: 15.78 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.361, allocations: 87.8 kB / 1.036 GB, free: 15.69 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.3612, allocations: 131.8 kB / 1.036 GB, free: 15.56 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.281e-05/0.3613, allocations: 11.94 kB / 1.036 GB, free: 15.55 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000553/0.3618, allocations: 159.7 kB / 1.036 GB, free: 15.39 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.362, allocations: 91.81 kB / 1.036 GB, free: 15.3 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.3621, allocations: 117.3 kB / 1.036 GB, free: 15.18 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.3626, allocations: 263.6 kB / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3626, allocations: 4 kB / 1.036 GB, free: 14.92 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3626, allocations: 0 / 1.036 GB, free: 14.92 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.3626, allocations: 0 / 1.036 GB, free: 14.92 MB / 0.795 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.0009058/0.3635, allocations: 0.5301 MB / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3636, allocations: 11.97 kB / 1.037 GB, free: 14.33 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.3637, allocations: 16.75 kB / 1.037 GB, free: 14.32 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.364, allocations: 238.5 kB / 1.037 GB, free: 14.05 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.683e-05/0.364, allocations: 24.36 kB / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.3641, allocations: 20.38 kB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007043/0.3648, allocations: 325 kB / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3648, allocations: 3.984 kB / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.3648, allocations: 8 kB / 1.037 GB, free: 13.67 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.3648, allocations: 4 kB / 1.037 GB, free: 13.66 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.3664, allocations: 0.8038 MB / 1.038 GB, free: 12.86 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.3668, allocations: 309.1 kB / 1.039 GB, free: 12.51 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.3686, allocations: 0.7809 MB / 1.039 GB, free: 11.71 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005569/0.3692, allocations: 260.7 kB / 1.04 GB, free: 11.45 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004265/0.3696, allocations: 392.3 kB / 1.04 GB, free: 11 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.3697, allocations: 42.5 kB / 1.04 GB, free: 10.95 MB / 0.795 GB Notification: Performance of pre-optimization done (n=37): time 1.693e-06/0.3697, allocations: 0 / 1.04 GB, free: 10.95 MB / 0.795 GB Notification: Performance of matching and sorting (n=37): time 0.001787/0.3715, allocations: 0.7327 MB / 1.041 GB, free: 10.21 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.3716, allocations: 55.41 kB / 1.041 GB, free: 10.14 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.3717, allocations: 130 kB / 1.041 GB, free: 10 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.3717, allocations: 29.7 kB / 1.041 GB, free: 9.969 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.3718, allocations: 96.73 kB / 1.041 GB, free: 9.871 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.3719, allocations: 130.1 kB / 1.041 GB, free: 9.742 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.3719, allocations: 29.7 kB / 1.041 GB, free: 9.707 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3721, allocations: 334.8 kB / 1.041 GB, free: 9.371 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005134/0.3726, allocations: 223.8 kB / 1.042 GB, free: 9.152 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005069/0.3731, allocations: 231.6 kB / 1.042 GB, free: 8.926 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009355/0.3741, allocations: 416.5 kB / 1.042 GB, free: 8.516 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.3741, allocations: 4 kB / 1.042 GB, free: 8.512 MB / 0.795 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001118/0.3752, allocations: 0.5126 MB / 1.043 GB, free: 7.992 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.3753, allocations: 8 kB / 1.043 GB, free: 7.984 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.3753, allocations: 3.984 kB / 1.043 GB, free: 7.98 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3753, allocations: 0 / 1.043 GB, free: 7.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.3757, allocations: 115.9 kB / 1.043 GB, free: 7.867 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3757, allocations: 0 / 1.043 GB, free: 7.867 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.3759, allocations: 63.8 kB / 1.043 GB, free: 7.805 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.376, allocations: 11.98 kB / 1.043 GB, free: 7.793 MB / 0.795 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.0001331/0.3761, allocations: 145.7 kB / 1.043 GB, free: 7.641 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.3761, allocations: 23.75 kB / 1.043 GB, free: 7.617 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.3774, allocations: 0.5649 MB / 1.044 GB, free: 7.043 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3774, allocations: 4 kB / 1.044 GB, free: 7.039 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3774, allocations: 4 kB / 1.044 GB, free: 7.035 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3775, allocations: 3.984 kB / 1.044 GB, free: 7.031 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.3778, allocations: 317.2 kB / 1.044 GB, free: 6.672 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3778, allocations: 4 kB / 1.044 GB, free: 6.668 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.3782, allocations: 111.8 kB / 1.044 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.3782, allocations: 11.97 kB / 1.044 GB, free: 6.547 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.3782, allocations: 8 kB / 1.044 GB, free: 6.539 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.3782, allocations: 4 kB / 1.044 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3782, allocations: 0 / 1.044 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.3794, allocations: 0.555 MB / 1.045 GB, free: 5.961 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.3795, allocations: 96.8 kB / 1.045 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.3795, allocations: 11.98 kB / 1.045 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.3798, allocations: 47.97 kB / 1.045 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/0.38, allocations: 119.8 kB / 1.045 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.38, allocations: 11.98 kB / 1.045 GB, free: 5.66 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.899e-05/0.3801, allocations: 106.3 kB / 1.045 GB, free: 5.559 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3801, allocations: 0 / 1.045 GB, free: 5.559 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004616/0.3806, allocations: 115.9 kB / 1.045 GB, free: 5.445 MB / 0.795 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.000393/0.381, allocations: 191 kB / 1.045 GB, free: 5.25 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.3822, allocations: 0.5149 MB / 1.046 GB, free: 4.734 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3822, allocations: 4 kB / 1.046 GB, free: 4.73 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000594/0.3828, allocations: 288.3 kB / 1.046 GB, free: 4.449 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.3833, allocations: 83.8 kB / 1.046 GB, free: 4.367 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008703/0.3841, allocations: 494.2 kB / 1.047 GB, free: 3.855 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.3846, allocations: 0.7369 MB / 1.047 GB, free: 3.09 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004774/0.3851, allocations: 174 kB / 1.048 GB, free: 2.926 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.3852, allocations: 39.41 kB / 1.048 GB, free: 2.887 MB / 0.795 GB Notification: Performance of SimCode: time 4.11e-07/0.3852, allocations: 4 kB / 1.048 GB, free: 2.883 MB / 0.795 GB Notification: Performance of Templates: time 0.01053/0.3958, allocations: 4.845 MB / 1.052 GB, free: 14.11 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches