Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 157.6 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.711/2.711, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 67.89 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3627, allocations: 169.9 MB / 1.117 GB, free: 2.551 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002292/0.365, allocations: 0.7485 MB / 1.118 GB, free: 1.801 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.3662, allocations: 0.886 MB / 1.119 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.3663, allocations: 0 / 1.119 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.812e-05/0.3663, allocations: 7.938 kB / 1.119 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.667e-05/0.3664, allocations: 19.86 kB / 1.119 GB, free: 0.875 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.3666, allocations: 35.91 kB / 1.119 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.3668, allocations: 91.8 kB / 1.119 GB, free: 0.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.3669, allocations: 19.92 kB / 1.119 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.3671, allocations: 43.84 kB / 1.119 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.3672, allocations: 43.81 kB / 1.119 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.3672, allocations: 8 kB / 1.119 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.261e-05/0.3672, allocations: 8 kB / 1.119 GB, free: 0.6289 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.433e-05/0.3673, allocations: 19.92 kB / 1.119 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.3673, allocations: 35.84 kB / 1.119 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.3675, allocations: 95.59 kB / 1.119 GB, free: 492 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3675, allocations: 0 / 1.119 GB, free: 492 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3675, allocations: 0 / 1.119 GB, free: 492 kB / 1.061 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3675, allocations: 0 / 1.119 GB, free: 492 kB / 1.061 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.0007217/0.3682, allocations: 314 kB / 1.12 GB, free: 148 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.3683, allocations: 12.03 kB / 1.12 GB, free: 136 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.3683, allocations: 4.891 kB / 1.12 GB, free: 132 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.3685, allocations: 130.4 kB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.3685, allocations: 8.375 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.3686, allocations: 8.375 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.3689, allocations: 105.4 kB / 1.12 GB, free: 15.85 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3689, allocations: 7.922 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.369, allocations: 4 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.369, allocations: 0 / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.3694, allocations: 99.89 kB / 1.12 GB, free: 15.74 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005978/0.37, allocations: 276.3 kB / 1.12 GB, free: 15.44 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/0.3706, allocations: 114.6 kB / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.3708, allocations: 52.81 kB / 1.121 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.3708, allocations: 0 / 1.121 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.3709, allocations: 38.56 kB / 1.121 GB, free: 15.22 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.3709, allocations: 0 / 1.121 GB, free: 15.22 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0007188/0.3716, allocations: 185.4 kB / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.3716, allocations: 51.41 kB / 1.121 GB, free: 14.97 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.3717, allocations: 117.8 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.3718, allocations: 25.7 kB / 1.121 GB, free: 14.81 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/0.3718, allocations: 108.1 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.3719, allocations: 15.84 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.3719, allocations: 21.7 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3721, allocations: 326.8 kB / 1.121 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.3723, allocations: 43.95 kB / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.3725, allocations: 48.25 kB / 1.121 GB, free: 14.24 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.3728, allocations: 100.8 kB / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3728, allocations: 3.938 kB / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004395/0.3733, allocations: 133.6 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3733, allocations: 6.656 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3733, allocations: 7.938 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3733, allocations: 4 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.3735, allocations: 23.97 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3735, allocations: 0 / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.3736, allocations: 19.92 kB / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.3736, allocations: 7.938 kB / 1.122 GB, free: 13.93 MB / 1.076 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.0001041/0.3737, allocations: 113.8 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.3738, allocations: 4 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.3743, allocations: 157.9 kB / 1.122 GB, free: 13.65 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3743, allocations: 4 kB / 1.122 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3743, allocations: 0 / 1.122 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3743, allocations: 0 / 1.122 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.3745, allocations: 141.1 kB / 1.122 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3745, allocations: 0 / 1.122 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.3746, allocations: 23.97 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3746, allocations: 4 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.3746, allocations: 4 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3747, allocations: 4 kB / 1.122 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3747, allocations: 3.938 kB / 1.122 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.3752, allocations: 243.3 kB / 1.122 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.3752, allocations: 4 kB / 1.122 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3752, allocations: 0 / 1.122 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.3754, allocations: 19.97 kB / 1.122 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-05/0.3754, allocations: 19.97 kB / 1.122 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.3755, allocations: 4 kB / 1.122 GB, free: 13.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.874e-05/0.3755, allocations: 99.64 kB / 1.123 GB, free: 13.04 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3755, allocations: 0 / 1.123 GB, free: 13.04 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002459/0.3758, allocations: 15.95 kB / 1.123 GB, free: 13.02 MB / 1.076 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.0001596/0.3759, allocations: 99.19 kB / 1.123 GB, free: 12.92 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004537/0.3764, allocations: 111.8 kB / 1.123 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3764, allocations: 0 / 1.123 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.3766, allocations: 59.95 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.377, allocations: 7.984 kB / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.3774, allocations: 178.7 kB / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.472e-05/0.3775, allocations: 75.33 kB / 1.123 GB, free: 12.45 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.424e-05/0.3776, allocations: 19.92 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.3776, allocations: 20.5 kB / 1.123 GB, free: 12.41 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/0.3776, allocations: 0 / 1.123 GB, free: 12.41 MB / 1.076 GB Notification: Performance of Templates: time 0.004941/0.3826, allocations: 1.701 MB / 1.125 GB, free: 10.73 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.663013576995581]