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.007688/0.007689, allocations: 101 kB / 15.87 MB, free: 5.867 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.001758/0.001758, allocations: 192.2 kB / 16.79 MB, free: 5.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.455/1.455, allocations: 222.9 MB / 240.5 MB, free: 4.582 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.368/2.368, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 63.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6536/0.6551, allocations: 140.4 MB / 0.9496 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001889/0.657, allocations: 0.8385 MB / 0.9504 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00081/0.6578, allocations: 0.8618 MB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.6579, allocations: 5.312 kB / 0.9513 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.118e-05/0.658, allocations: 7.922 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.623e-05/0.6581, allocations: 9.297 kB / 0.9513 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.6582, allocations: 34.84 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.6583, allocations: 74.27 kB / 0.9514 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.6584, allocations: 25.61 kB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.175e-05/0.6585, allocations: 37.53 kB / 0.9514 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.591e-05/0.6586, allocations: 48.19 kB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.6586, allocations: 5.5 kB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.672e-05/0.6587, allocations: 4.125 kB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.6587, allocations: 14.67 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.6587, allocations: 42.66 kB / 0.9515 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.555e-05/0.6588, allocations: 60.25 kB / 0.9516 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6588, allocations: 0 / 0.9516 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.31e-07/0.6588, allocations: 0 / 0.9516 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.6588, allocations: 1.375 kB / 0.9516 GB, free: 7.559 MB / 0.7169 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.0005268/0.6594, allocations: 388.7 kB / 0.952 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.6594, allocations: 9.625 kB / 0.952 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.6595, allocations: 8.5 kB / 0.952 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.332e-05/0.6596, allocations: 180.4 kB / 0.9522 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.6596, allocations: 11.44 kB / 0.9522 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.6596, allocations: 4.062 kB / 0.9522 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.6599, allocations: 108.6 kB / 0.9523 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.6599, allocations: 0 / 0.9523 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.6599, allocations: 4 kB / 0.9523 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.6599, allocations: 1.531 kB / 0.9523 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003415/0.6603, allocations: 99.95 kB / 0.9524 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.6607, allocations: 350.8 kB / 0.9527 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006/0.6613, allocations: 118.9 kB / 0.9528 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.6615, allocations: 54.38 kB / 0.9529 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.6615, allocations: 5.266 kB / 0.9529 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.257e-05/0.6616, allocations: 31.75 kB / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.6616, allocations: 4 kB / 0.9529 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006187/0.6622, allocations: 181.1 kB / 0.9531 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.6622, allocations: 52.69 kB / 0.9531 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.817e-05/0.6623, allocations: 129.3 kB / 0.9533 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.6623, allocations: 29.7 kB / 0.9533 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.6624, allocations: 96 kB / 0.9534 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.6624, allocations: 26.11 kB / 0.9534 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.6624, allocations: 23.58 kB / 0.9534 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.243e-05/0.6625, allocations: 329.2 kB / 0.9538 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.6627, allocations: 43.89 kB / 0.9538 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.6628, allocations: 48.92 kB / 0.9538 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.6632, allocations: 102.4 kB / 0.9539 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6632, allocations: 0 / 0.9539 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003879/0.6636, allocations: 143.1 kB / 0.9541 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.6636, allocations: 5.344 kB / 0.9541 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.6636, allocations: 1.219 kB / 0.9541 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.6636, allocations: 0 / 0.9541 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.6638, allocations: 24.66 kB / 0.9541 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.6638, allocations: 0.5469 kB / 0.9541 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.6639, allocations: 15.05 kB / 0.9541 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.6639, allocations: 2.625 kB / 0.9541 GB, free: 5.32 MB / 0.7169 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 6.055e-05/0.664, allocations: 125.3 kB / 0.9542 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.664, allocations: 7.469 kB / 0.9542 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004244/0.6645, allocations: 147.5 kB / 0.9544 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6645, allocations: 4.984 kB / 0.9544 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.6645, allocations: 0 / 0.9544 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6645, allocations: 7.938 kB / 0.9544 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.6647, allocations: 203.8 kB / 0.9546 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.6647, allocations: 1.438 kB / 0.9546 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.6648, allocations: 28 kB / 0.9546 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.6649, allocations: 0 / 0.9546 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.6649, allocations: 1 kB / 0.9546 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.6649, allocations: 1.469 kB / 0.9546 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6649, allocations: 3.938 kB / 0.9546 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.6653, allocations: 235.5 kB / 0.9549 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.6653, allocations: 82.56 kB / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.6653, allocations: 5.219 kB / 0.9549 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.6655, allocations: 11.42 kB / 0.9549 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/0.6656, allocations: 18.09 kB / 0.955 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.6656, allocations: 11.22 kB / 0.955 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.73e-05/0.6656, allocations: 100.5 kB / 0.9551 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6656, allocations: 0 / 0.9551 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002404/0.6659, allocations: 20.44 kB / 0.9551 GB, free: 4.426 MB / 0.7169 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 8.529e-05/0.666, allocations: 99.72 kB / 0.9552 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003952/0.6664, allocations: 109.7 kB / 0.9553 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6664, allocations: 1.156 kB / 0.9553 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.6666, allocations: 56.52 kB / 0.9553 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.6669, allocations: 18.3 kB / 0.9554 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.6673, allocations: 219.4 kB / 0.9556 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.6674, allocations: 0.6903 MB / 0.9562 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.376e-05/0.6674, allocations: 20.36 kB / 0.9563 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6675, allocations: 0 / 0.9563 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of Templates: time 0.002521/0.67, allocations: 1.219 MB / 0.9575 GB, free: 2.695 MB / 0.7169 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/jenkins1/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