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.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.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.001616/0.001616, allocations: 100.1 kB / 15.88 MB, free: 12 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.002326/0.002326, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.555/1.555, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.672/2.672, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 68.55 kB / 0.8991 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3322, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002443/0.3347, allocations: 0.8419 MB / 1.054 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.3358, allocations: 0.8662 MB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/0.3359, allocations: 8 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.336, allocations: 0 / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.564e-05/0.3361, allocations: 11.92 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.3363, allocations: 31.91 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.3364, allocations: 79.78 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.3366, allocations: 27.98 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.224e-05/0.3367, allocations: 35.84 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.553e-05/0.3368, allocations: 47.81 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.3368, allocations: 11.94 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.802e-05/0.3368, allocations: 4 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.3368, allocations: 11.92 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.3369, allocations: 39.78 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.337, allocations: 55.88 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.337, allocations: 4 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.102e-06/0.337, allocations: 0 / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.337, allocations: 4 kB / 1.055 GB, free: 6.207 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.0006916/0.3377, allocations: 387.5 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.3378, allocations: 15.97 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.3379, allocations: 8.844 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.338, allocations: 176.2 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.3381, allocations: 12.38 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.3381, allocations: 384 / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.3384, allocations: 120.5 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3384, allocations: 0 / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.3385, allocations: 4 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3385, allocations: 7.938 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003816/0.3389, allocations: 91.91 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005947/0.3395, allocations: 344.6 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006999/0.3402, allocations: 114.6 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.3404, allocations: 60.81 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.3404, allocations: 0 / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.3404, allocations: 30.56 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.3405, allocations: 4 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006992/0.3412, allocations: 189.4 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.3412, allocations: 55.41 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.3413, allocations: 121.8 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3414, allocations: 29.7 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.3414, allocations: 95.97 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.3415, allocations: 19.75 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/0.3415, allocations: 29.7 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.3416, allocations: 322.8 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.3418, allocations: 43.95 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.342, allocations: 44.27 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.3423, allocations: 104.9 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.3424, allocations: 7.984 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004118/0.3428, allocations: 133.4 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3428, allocations: 9.562 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.3428, allocations: 0 / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3428, allocations: 0 / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.343, allocations: 31.97 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3431, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.3432, allocations: 19.91 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3432, allocations: 0 / 1.057 GB, free: 3.406 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 9.709e-05/0.3433, allocations: 113.8 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.3433, allocations: 7.906 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004986/0.3439, allocations: 157.9 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3439, allocations: 0 / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3439, allocations: 0 / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3439, allocations: 3.938 kB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.3441, allocations: 205.5 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3441, allocations: 0 / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.3443, allocations: 27.97 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3443, allocations: 4 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3443, allocations: 0 / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3443, allocations: 0 / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3443, allocations: 0 / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004693/0.3448, allocations: 239.2 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.3449, allocations: 92.95 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.3449, allocations: 4 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.3451, allocations: 15.97 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.833e-05/0.3452, allocations: 15.98 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.3452, allocations: 15.86 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.097e-05/0.3453, allocations: 95.27 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3453, allocations: 0 / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002355/0.3455, allocations: 12 kB / 1.058 GB, free: 2.316 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.0001414/0.3457, allocations: 105.4 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004294/0.3461, allocations: 103.8 kB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3461, allocations: 0 / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.3463, allocations: 59.94 kB / 1.059 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.3467, allocations: 12 kB / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004739/0.3472, allocations: 213.6 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.3474, allocations: 0.6965 MB / 1.059 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/0.3475, allocations: 23.36 kB / 1.059 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of SimCode: time 5.51e-07/0.3475, allocations: 0 / 1.059 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of Templates: time 0.002925/0.3504, allocations: 1.218 MB / 1.061 GB, free: 15.83 MB / 0.8262 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/jenkins1/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