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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001616/0.001616, allocations: 107.8 kB / 15.99 MB, free: 5.914 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.001808/0.001808, allocations: 186.8 kB / 16.9 MB, free: 5.758 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.374/1.374, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.413/2.413, allocations: 390.3 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 71.08 kB / 0.8127 GB, free: 32.43 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3583, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.00265/0.361, allocations: 0.8439 MB / 0.9506 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.3624, allocations: 0.8663 MB / 0.9515 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.586e-05/0.3625, allocations: 0 / 0.9515 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.709e-05/0.3625, allocations: 7.938 kB / 0.9515 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.3627, allocations: 3.938 kB / 0.9515 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.3629, allocations: 39.95 kB / 0.9515 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00014/0.363, allocations: 87.77 kB / 0.9516 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.3632, allocations: 23.98 kB / 0.9516 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.3633, allocations: 43.84 kB / 0.9517 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.3634, allocations: 43.83 kB / 0.9517 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.3635, allocations: 8 kB / 0.9517 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.991e-05/0.3635, allocations: 8 kB / 0.9517 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.459e-05/0.3635, allocations: 27.89 kB / 0.9517 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.503e-05/0.3636, allocations: 27.86 kB / 0.9518 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.3637, allocations: 67.86 kB / 0.9518 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3637, allocations: 0 / 0.9518 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3637, allocations: 0 / 0.9518 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.3637, allocations: 0 / 0.9518 GB, free: 7.125 MB / 0.7325 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.0007755/0.3645, allocations: 399.4 kB / 0.9522 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3646, allocations: 11.97 kB / 0.9522 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.3646, allocations: 8.844 kB / 0.9522 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.3648, allocations: 176.2 kB / 0.9524 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.3649, allocations: 4.375 kB / 0.9524 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.3649, allocations: 8.375 kB / 0.9524 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.3652, allocations: 109.7 kB / 0.9525 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3652, allocations: 0 / 0.9525 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.3653, allocations: 0 / 0.9525 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3653, allocations: 3.984 kB / 0.9525 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.3657, allocations: 99.84 kB / 0.9526 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.3663, allocations: 348.6 kB / 0.9529 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007035/0.367, allocations: 122.5 kB / 0.9531 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.3672, allocations: 60.8 kB / 0.9531 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.3673, allocations: 4 kB / 0.9531 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.3673, allocations: 30.56 kB / 0.9532 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3673, allocations: 0 / 0.9532 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0007194/0.368, allocations: 185.5 kB / 0.9533 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.3681, allocations: 55.34 kB / 0.9534 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.3682, allocations: 117.8 kB / 0.9535 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3682, allocations: 25.7 kB / 0.9535 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.3683, allocations: 100 kB / 0.9536 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.3684, allocations: 23.67 kB / 0.9536 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.527e-05/0.3684, allocations: 25.7 kB / 0.9537 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3686, allocations: 326.8 kB / 0.954 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.3688, allocations: 43.95 kB / 0.954 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.369, allocations: 47.95 kB / 0.9541 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.3694, allocations: 96.72 kB / 0.9542 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3694, allocations: 0 / 0.9542 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004185/0.3698, allocations: 137.5 kB / 0.9543 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.3698, allocations: 4 kB / 0.9543 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3698, allocations: 0 / 0.9543 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3699, allocations: 0 / 0.9543 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.37, allocations: 31.91 kB / 0.9543 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3701, allocations: 4 kB / 0.9543 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.3702, allocations: 19.92 kB / 0.9543 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.3702, allocations: 3.984 kB / 0.9543 GB, free: 4.32 MB / 0.7325 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.0001089/0.3703, allocations: 113.8 kB / 0.9545 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.3704, allocations: 7.906 kB / 0.9545 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004858/0.3709, allocations: 149.9 kB / 0.9546 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3709, allocations: 0 / 0.9546 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3709, allocations: 0 / 0.9546 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3709, allocations: 15.86 kB / 0.9546 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.3712, allocations: 197.6 kB / 0.9548 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3712, allocations: 0 / 0.9548 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.3714, allocations: 23.97 kB / 0.9548 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3714, allocations: 0 / 0.9548 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.3714, allocations: 11.98 kB / 0.9548 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.3714, allocations: 0 / 0.9548 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3714, allocations: 0 / 0.9548 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.3719, allocations: 239.9 kB / 0.9551 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.372, allocations: 85.02 kB / 0.9552 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.372, allocations: 4 kB / 0.9552 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.3722, allocations: 15.98 kB / 0.9552 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.925e-05/0.3723, allocations: 15.97 kB / 0.9552 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.3723, allocations: 15.88 kB / 0.9552 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.307e-05/0.3724, allocations: 91.27 kB / 0.9553 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3724, allocations: 0 / 0.9553 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002536/0.3726, allocations: 12 kB / 0.9553 GB, free: 3.242 MB / 0.7325 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.0001626/0.3728, allocations: 107.2 kB / 0.9554 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004445/0.3732, allocations: 111.8 kB / 0.9555 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3733, allocations: 0 / 0.9555 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.3735, allocations: 63.89 kB / 0.9556 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.3738, allocations: 17.95 kB / 0.9556 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005489/0.3744, allocations: 208 kB / 0.9558 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.3747, allocations: 0.6961 MB / 0.9565 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.014e-05/0.3748, allocations: 19.42 kB / 0.9565 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.3748, allocations: 0 / 0.9565 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of Templates: time 0.003138/0.3779, allocations: 1.232 MB / 0.9577 GB, free: 0.7266 MB / 0.7325 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