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.001621/0.001621, allocations: 102.1 kB / 16.27 MB, free: 6.414 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.001877/0.001878, allocations: 188.7 kB / 17.2 MB, free: 5.953 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.402/1.402, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.322/2.322, allocations: 390.2 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001366, allocations: 67.88 kB / 0.8132 GB, free: 33.19 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2562, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002218/0.2585, allocations: 0.7654 MB / 0.951 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.2596, allocations: 0.8683 MB / 0.9519 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.843e-05/0.2596, allocations: 4 kB / 0.9519 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.1e-05/0.2597, allocations: 3.938 kB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.49e-05/0.2598, allocations: 11.86 kB / 0.9519 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.26, allocations: 39.95 kB / 0.9519 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.2601, allocations: 87.77 kB / 0.952 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.2603, allocations: 27.97 kB / 0.952 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.807e-05/0.2604, allocations: 35.84 kB / 0.9521 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.513e-05/0.2604, allocations: 55.81 kB / 0.9521 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.2605, allocations: 8 kB / 0.9521 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.916e-05/0.2605, allocations: 8 kB / 0.9522 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.991e-05/0.2605, allocations: 15.92 kB / 0.9522 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.2606, allocations: 35.8 kB / 0.9522 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.2607, allocations: 91.66 kB / 0.9523 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2607, allocations: 0 / 0.9523 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2607, allocations: 0 / 0.9523 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.2608, allocations: 4 kB / 0.9523 GB, free: 6.797 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.0006362/0.2614, allocations: 395.3 kB / 0.9527 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2614, allocations: 8.031 kB / 0.9527 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.2615, allocations: 8.844 kB / 0.9527 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.2616, allocations: 184.2 kB / 0.9529 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.2617, allocations: 4.375 kB / 0.9529 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.2617, allocations: 8.375 kB / 0.9529 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.262, allocations: 113.7 kB / 0.953 GB, free: 6 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.262, allocations: 0 / 0.953 GB, free: 6 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.262, allocations: 4 kB / 0.953 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.2621, allocations: 4 kB / 0.953 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003702/0.2624, allocations: 95.91 kB / 0.9531 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.263, allocations: 340.7 kB / 0.9534 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006111/0.2636, allocations: 118.5 kB / 0.9535 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.2638, allocations: 60.81 kB / 0.9536 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.2638, allocations: 3.984 kB / 0.9536 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.2638, allocations: 30.56 kB / 0.9536 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2638, allocations: 0 / 0.9536 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006745/0.2645, allocations: 189.4 kB / 0.9538 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.2646, allocations: 51.41 kB / 0.9538 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.799e-05/0.2647, allocations: 129.8 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.2647, allocations: 25.7 kB / 0.954 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.2647, allocations: 96 kB / 0.9541 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.2648, allocations: 19.75 kB / 0.9541 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.2648, allocations: 25.7 kB / 0.9541 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.635e-05/0.2649, allocations: 326.8 kB / 0.9544 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.2651, allocations: 43.95 kB / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.2653, allocations: 47.89 kB / 0.9545 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.2657, allocations: 104.8 kB / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2657, allocations: 4 kB / 0.9546 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004278/0.2661, allocations: 133.5 kB / 0.9548 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2662, allocations: 4 kB / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.2662, allocations: 4 kB / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2662, allocations: 0 / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.2664, allocations: 27.97 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2664, allocations: 0.5469 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.2665, allocations: 19.91 kB / 0.9548 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.2665, allocations: 0 / 0.9548 GB, free: 3.996 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 8.2e-05/0.2666, allocations: 116.2 kB / 0.9549 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.2666, allocations: 11.84 kB / 0.9549 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004734/0.2671, allocations: 157.9 kB / 0.9551 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.2671, allocations: 4 kB / 0.9551 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2671, allocations: 0 / 0.9551 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2672, allocations: 3.938 kB / 0.9551 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.2674, allocations: 205.5 kB / 0.9553 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2674, allocations: 0 / 0.9553 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.2675, allocations: 31.97 kB / 0.9553 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2676, allocations: 0 / 0.9553 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2676, allocations: 0 / 0.9553 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2676, allocations: 0 / 0.9553 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2676, allocations: 0 / 0.9553 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004599/0.268, allocations: 243.2 kB / 0.9555 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.2681, allocations: 89.02 kB / 0.9556 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.2681, allocations: 0 / 0.9556 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.2683, allocations: 15.97 kB / 0.9556 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.2684, allocations: 19.97 kB / 0.9557 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.2684, allocations: 7.938 kB / 0.9557 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.436e-05/0.2684, allocations: 95.27 kB / 0.9558 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2684, allocations: 0 / 0.9558 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002424/0.2687, allocations: 16 kB / 0.9558 GB, free: 2.902 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.0001151/0.2688, allocations: 107.2 kB / 0.9559 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004312/0.2692, allocations: 111.8 kB / 0.956 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2693, allocations: 4 kB / 0.956 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.2695, allocations: 63.94 kB / 0.9561 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.2698, allocations: 6.656 kB / 0.9561 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004596/0.2703, allocations: 196.1 kB / 0.9562 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.2705, allocations: 0.7039 MB / 0.9569 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.634e-05/0.2706, allocations: 15.44 kB / 0.9569 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.2706, allocations: 0 / 0.9569 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of Templates: time 0.002761/0.2733, allocations: 1.223 MB / 0.9581 GB, free: 420 kB / 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