Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 104.4 kB / 16.35 MB, free: 6.289 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.001108/0.001108, allocations: 192.7 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.458/2.458, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.06 kB / 0.8707 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3083, allocations: 151.6 MB / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001852/0.3102, allocations: 0.7069 MB / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008746/0.3111, allocations: 0.8118 MB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.3111, allocations: 0 / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.3112, allocations: 3.938 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.272e-05/0.3112, allocations: 3.938 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.643e-05/0.3113, allocations: 19.97 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.372e-05/0.3114, allocations: 39.86 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3115, allocations: 15.97 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.856e-05/0.3116, allocations: 16 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.403e-05/0.3116, allocations: 27.84 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.3116, allocations: 4 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-06/0.3116, allocations: 4 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.3117, allocations: 4 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.3117, allocations: 19.86 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.738e-05/0.3118, allocations: 39.81 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3118, allocations: 0 / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3118, allocations: 0 / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3118, allocations: 0 / 1.02 GB, free: 8.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005076/0.3123, allocations: 371.3 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3124, allocations: 12.92 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.3124, allocations: 0.9375 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.3125, allocations: 176.2 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.3126, allocations: 384 / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.3126, allocations: 4.375 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.3128, allocations: 70.22 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.3128, allocations: 4.172 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3129, allocations: 3.938 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3129, allocations: 0 / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.3131, allocations: 67.88 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.3135, allocations: 269 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.3137, allocations: 54.47 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.3138, allocations: 40.92 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.3138, allocations: 0 / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.3139, allocations: 38.5 kB / 1.022 GB, free: 6.836 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3139, allocations: 0 / 1.022 GB, free: 6.836 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004998/0.3144, allocations: 129.5 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.3144, allocations: 51.41 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.474e-05/0.3145, allocations: 109.8 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.3145, allocations: 29.7 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.3146, allocations: 84.14 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.3146, allocations: 15.8 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.3146, allocations: 17.66 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.3147, allocations: 314.8 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.3149, allocations: 31.95 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.315, allocations: 43.84 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.3153, allocations: 64.78 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3153, allocations: 3.938 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002992/0.3156, allocations: 97.91 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3156, allocations: 4 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3156, allocations: 0 / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.3156, allocations: 4.047 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.3158, allocations: 19.97 kB / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3158, allocations: 3.984 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.269e-05/0.3159, allocations: 11.98 kB / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.3159, allocations: 0 / 1.023 GB, free: 5.758 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 (3): * Single equations (assignments): 3 * 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 7.147e-05/0.3159, allocations: 122.4 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.316, allocations: 3.906 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.316, allocations: 11.91 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.316, allocations: 0 / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.316, allocations: 0 / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.316, allocations: 0 / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.3162, allocations: 173.6 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3162, allocations: 0 / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.349e-05/0.3163, allocations: 15.98 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.3163, allocations: 4 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.3163, allocations: 0 / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3163, allocations: 0 / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3163, allocations: 0 / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.3167, allocations: 195.4 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.3167, allocations: 92.95 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.3167, allocations: 0 / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3168, allocations: 7.984 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.3169, allocations: 15.92 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.3169, allocations: 0 / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.897e-05/0.3169, allocations: 87.28 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3169, allocations: 0 / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000219/0.3172, allocations: 4 kB / 1.023 GB, free: 4.941 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 (3): * Single equations (assignments): 3 * 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.0001291/0.3173, allocations: 111.2 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003089/0.3176, allocations: 67.92 kB / 1.023 GB, free: 4.754 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3176, allocations: 0 / 1.023 GB, free: 4.754 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.3178, allocations: 35.91 kB / 1.023 GB, free: 4.719 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.3181, allocations: 15.88 kB / 1.023 GB, free: 4.703 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.3184, allocations: 133.5 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.3187, allocations: 0.6768 MB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.192e-05/0.3187, allocations: 4 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.3187, allocations: 7.438 kB / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of SimCode: time 3e-07/0.3187, allocations: 4 kB / 1.024 GB, free: 3.828 MB / 0.795 GB Notification: Performance of Templates: time 0.002685/0.3214, allocations: 0.6786 MB / 1.025 GB, free: 3.156 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches