Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_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_latest_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.001186/0.001186, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001184/0.001184, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.482/1.482, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.948/2.948, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.34 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3692, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002112/0.3713, allocations: 0.8342 MB / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.3724, allocations: 0.8702 MB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.3725, allocations: 4 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.785e-05/0.3725, allocations: 7.922 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.767e-05/0.3726, allocations: 7.938 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.3728, allocations: 31.95 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.3729, allocations: 83.73 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3731, allocations: 27.88 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.399e-05/0.3732, allocations: 43.83 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.3733, allocations: 39.83 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.3733, allocations: 4 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.089e-05/0.3733, allocations: 8 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.191e-05/0.3734, allocations: 19.91 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.3734, allocations: 35.78 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.3736, allocations: 79.73 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3736, allocations: 0 / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.91e-07/0.3736, allocations: 0 / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.3736, allocations: 0 / 1.054 GB, free: 6.738 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007132/0.3743, allocations: 395.5 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.3744, allocations: 8.031 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.3744, allocations: 8.844 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.3745, allocations: 180.2 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3746, allocations: 8.375 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.3746, allocations: 12.36 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.3749, allocations: 109.7 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3749, allocations: 0 / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.375, allocations: 0 / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.375, allocations: 0 / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003776/0.3754, allocations: 99.89 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006491/0.376, allocations: 344.6 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006801/0.3767, allocations: 118.6 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.3769, allocations: 52.81 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.377, allocations: 15.92 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.377, allocations: 30.56 kB / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.377, allocations: 0 / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0007214/0.3777, allocations: 185.5 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.3778, allocations: 51.41 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.3779, allocations: 129.7 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.3779, allocations: 25.7 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.378, allocations: 100 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.378, allocations: 15.75 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.3781, allocations: 21.7 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3782, allocations: 326.8 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.3784, allocations: 43.95 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.3786, allocations: 47.89 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.3789, allocations: 100.8 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3789, allocations: 4 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004162/0.3794, allocations: 141.5 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3794, allocations: 4 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3794, allocations: 3.938 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3794, allocations: 0 / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.3796, allocations: 27.97 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3796, allocations: 7.938 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.3798, allocations: 11.92 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.3798, allocations: 8 kB / 1.057 GB, free: 3.93 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: 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.0001001/0.3799, allocations: 119.4 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.3799, allocations: 7.906 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004999/0.3804, allocations: 146 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.3805, allocations: 0 / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3805, allocations: 0 / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.3805, allocations: 7.938 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.3807, allocations: 197.5 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3807, allocations: 0 / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.3809, allocations: 27.91 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3809, allocations: 4 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.3809, allocations: 4 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.381, allocations: 0 / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.381, allocations: 3.984 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000499/0.3815, allocations: 235.9 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.3815, allocations: 92.94 kB / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.3816, allocations: 4 kB / 1.057 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.3817, allocations: 7.984 kB / 1.057 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.997e-05/0.3818, allocations: 23.97 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.3818, allocations: 7.938 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.614e-05/0.3819, allocations: 91.27 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3819, allocations: 0 / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002455/0.3822, allocations: 16 kB / 1.058 GB, free: 2.855 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: 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.0001837/0.3824, allocations: 107.2 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004291/0.3828, allocations: 104 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3828, allocations: 0 / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.383, allocations: 68.02 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.3834, allocations: 12 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.3839, allocations: 187.9 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.3842, allocations: 0.6965 MB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.228e-05/0.3843, allocations: 8 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.451e-05/0.3844, allocations: 19.42 kB / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of SimCode: time 2.284e-06/0.3844, allocations: 0 / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of Templates: time 0.003991/0.3884, allocations: 1.353 MB / 1.06 GB, free: 260 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches