Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 109.3 kB / 15.7 MB, free: 132 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.001237/0.001237, allocations: 194.9 kB / 16.63 MB, free: 6.609 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.486/1.486, allocations: 222.9 MB / 240.3 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.541/2.541, allocations: 390.3 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 67.55 kB / 0.9509 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3607, allocations: 140.4 MB / 1.088 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002187/0.363, allocations: 0.7748 MB / 1.089 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3642, allocations: 0.8584 MB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.691e-05/0.3643, allocations: 7.938 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.962e-05/0.3643, allocations: 7.875 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.3645, allocations: 11.92 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.3647, allocations: 47.88 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.3648, allocations: 79.89 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.365, allocations: 27.91 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.009e-05/0.3651, allocations: 35.86 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.45e-05/0.3652, allocations: 55.81 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.3653, allocations: 8 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.878e-05/0.3653, allocations: 8 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.331e-05/0.3653, allocations: 23.84 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.029e-05/0.3654, allocations: 35.8 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.3656, allocations: 87.72 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3656, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.056e-06/0.3656, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.3656, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007251/0.3663, allocations: 393.3 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.3664, allocations: 16.02 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.3664, allocations: 12.78 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.3666, allocations: 176.2 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.3666, allocations: 4.375 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.3667, allocations: 8.375 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.367, allocations: 101.5 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.367, allocations: 4 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.3671, allocations: 8 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3671, allocations: 0 / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003823/0.3675, allocations: 107.8 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005799/0.368, allocations: 336.6 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006394/0.3687, allocations: 126.5 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.3689, allocations: 52.81 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.3689, allocations: 7.984 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.369, allocations: 34.56 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.369, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006843/0.3697, allocations: 177.5 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.3697, allocations: 55.39 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.3698, allocations: 133.7 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.3699, allocations: 29.7 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.3699, allocations: 99.97 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.37, allocations: 11.81 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.37, allocations: 25.7 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3702, allocations: 314.8 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.3703, allocations: 47.94 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.3705, allocations: 47.95 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.3709, allocations: 100.8 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3709, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004153/0.3713, allocations: 138 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.3713, allocations: 8 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3713, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.3714, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.3716, allocations: 27.91 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.3716, allocations: 4.062 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.3717, allocations: 15.92 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.3717, allocations: 11.92 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001075/0.3718, allocations: 121.8 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.3719, allocations: 7.906 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004927/0.3724, allocations: 149.9 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3724, allocations: 3.938 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3724, allocations: 4 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3724, allocations: 3.938 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.3726, allocations: 201.6 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3726, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.3728, allocations: 23.97 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3728, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3728, allocations: 3.984 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3728, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3728, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.3733, allocations: 240.7 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.3734, allocations: 89 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.3734, allocations: 4 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.3736, allocations: 11.98 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.049e-05/0.3736, allocations: 31.84 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.3737, allocations: 4 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.602e-05/0.3737, allocations: 99.27 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3737, allocations: 0 / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002318/0.374, allocations: 12 kB / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001445/0.3741, allocations: 95.78 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004599/0.3746, allocations: 115.9 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3746, allocations: 0 / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.3748, allocations: 59.89 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.3752, allocations: 13.7 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/0.3757, allocations: 180.1 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.3761, allocations: 0.6924 MB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.069e-05/0.3762, allocations: 19.73 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/0.3762, allocations: 15.44 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.3762, allocations: 0 / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of Templates: time 0.004382/0.3806, allocations: 1.57 MB / 1.096 GB, free: 8.633 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches