Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002161/0.002161, allocations: 195.5 kB / 16.25 MB, free: 6.621 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.617/1.617, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.796/2.796, allocations: 461.8 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 69.11 kB / 0.8986 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3689, allocations: 157.4 MB / 1.052 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002139/0.3711, allocations: 0.7651 MB / 1.053 GB, free: 7.949 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009555/0.372, allocations: 0.8118 MB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.3721, allocations: 0 / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.3721, allocations: 0 / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.703e-05/0.3722, allocations: 3.938 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001101/0.3723, allocations: 15.98 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.056e-05/0.3724, allocations: 43.8 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3725, allocations: 12 kB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.125e-05/0.3726, allocations: 19.98 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.165e-05/0.3727, allocations: 23.84 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.3727, allocations: 4 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.731e-05/0.3727, allocations: 4 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.3728, allocations: 4 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.3728, allocations: 27.78 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.96e-05/0.3729, allocations: 43.88 kB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3729, allocations: 0 / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3729, allocations: 0 / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.3729, allocations: 0 / 1.054 GB, free: 6.926 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005316/0.3735, allocations: 363.6 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3735, allocations: 12.62 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.3735, allocations: 0.9375 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.3737, allocations: 176.2 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.3737, allocations: 384 / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.3737, allocations: 4.375 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.374, allocations: 74.16 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.374, allocations: 192 / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.374, allocations: 3.938 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.374, allocations: 0 / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/0.3743, allocations: 63.92 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.3747, allocations: 273 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.3749, allocations: 62.41 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.375, allocations: 36.92 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.3751, allocations: 0 / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.3751, allocations: 34.56 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.3751, allocations: 0 / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005263/0.3756, allocations: 129.5 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.3757, allocations: 55.41 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.969e-05/0.3758, allocations: 121.8 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.3758, allocations: 25.7 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.3758, allocations: 84.14 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.3759, allocations: 11.81 kB / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.3759, allocations: 17.7 kB / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.376, allocations: 314.8 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.3762, allocations: 31.95 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.3763, allocations: 35.97 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.3765, allocations: 64.78 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3766, allocations: 7.875 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000286/0.3769, allocations: 97.62 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.3769, allocations: 8 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3769, allocations: 0 / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3769, allocations: 0 / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.377, allocations: 19.92 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.377, allocations: 3.984 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.267e-05/0.3771, allocations: 7.984 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.3771, allocations: 8 kB / 1.056 GB, free: 4.594 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 (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.546e-05/0.3772, allocations: 119.2 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.3773, allocations: 7.906 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003348/0.3776, allocations: 101.5 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3776, allocations: 4 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3776, allocations: 0 / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3776, allocations: 4 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.3778, allocations: 173.6 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3778, allocations: 0 / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.121e-05/0.3779, allocations: 15.92 kB / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.3779, allocations: 4 kB / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3779, allocations: 4 kB / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.3779, allocations: 0 / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3779, allocations: 0 / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.3783, allocations: 195.8 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.3783, allocations: 88.98 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.3783, allocations: 4 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3785, allocations: 11.98 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.3785, allocations: 7.984 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.3785, allocations: 4 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.87e-05/0.3786, allocations: 91.58 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3786, allocations: 0 / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002115/0.3788, allocations: 4 kB / 1.057 GB, free: 3.668 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 (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.0001506/0.3789, allocations: 107.2 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003289/0.3793, allocations: 67.92 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3793, allocations: 4 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.3794, allocations: 31.97 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3797, allocations: 22.25 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.3801, allocations: 137.5 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.3803, allocations: 0.6845 MB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.233e-05/0.3804, allocations: 0 / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.3804, allocations: 11.44 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3804, allocations: 0 / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of Templates: time 0.002671/0.3831, allocations: 0.5623 MB / 1.058 GB, free: 1.992 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches