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.001466/0.001466, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001773/0.001773, allocations: 215.8 kB / 22.25 MB, free: 5.242 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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.982/2.982, allocations: 475.9 MB / 0.7699 GB, free: 4.785 MB / 0.6231 GB " [Timeout remaining time 176] 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.00216/0.00216, allocations: 66.34 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3687, allocations: 169.9 MB / 1.283 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002347/0.371, allocations: 0.7663 MB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.3723, allocations: 0.8861 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.576e-05/0.3724, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.3724, allocations: 7.938 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.48e-05/0.3725, allocations: 7.875 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.3727, allocations: 43.89 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.3728, allocations: 83.88 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.373, allocations: 19.98 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.433e-05/0.3731, allocations: 39.8 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.205e-05/0.3732, allocations: 47.81 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.3732, allocations: 8 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.156e-05/0.3732, allocations: 8 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.134e-05/0.3732, allocations: 19.92 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.716e-05/0.3733, allocations: 31.84 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.3734, allocations: 87.66 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3734, allocations: 0 / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3734, allocations: 0 / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.3735, allocations: 0 / 1.285 GB, free: 9.812 MB / 0.9825 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.0007253/0.3742, allocations: 329.9 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3742, allocations: 12.03 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.3743, allocations: 8.891 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.3744, allocations: 126.4 kB / 1.285 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.3745, allocations: 8.375 kB / 1.285 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.3745, allocations: 8.359 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.3748, allocations: 105.5 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.3748, allocations: 4 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3748, allocations: 4 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3748, allocations: 0 / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003792/0.3752, allocations: 95.91 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.3758, allocations: 268.3 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006411/0.3764, allocations: 118.6 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.3766, allocations: 52.81 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.3766, allocations: 7.938 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.3767, allocations: 34.55 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.3767, allocations: 0 / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007146/0.3774, allocations: 181.5 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.3774, allocations: 51.41 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.3776, allocations: 129.8 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.3776, allocations: 25.7 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/0.3777, allocations: 92.09 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.3777, allocations: 27.81 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.3778, allocations: 21.7 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3779, allocations: 322.8 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.3781, allocations: 51.89 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.3783, allocations: 47.89 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.3787, allocations: 97.23 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3787, allocations: 0 / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004324/0.3791, allocations: 141.5 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3791, allocations: 4 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3791, allocations: 4 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3791, allocations: 0 / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.3793, allocations: 27.97 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3793, allocations: 3.938 kB / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.3794, allocations: 11.98 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.3794, allocations: 7.938 kB / 1.287 GB, free: 7.258 MB / 0.9825 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.00012/0.3796, allocations: 113.8 kB / 1.287 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.3796, allocations: 11.94 kB / 1.287 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004988/0.3801, allocations: 149.9 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3801, allocations: 0 / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3801, allocations: 4 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3801, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.3803, allocations: 141.1 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3803, allocations: 0 / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.3805, allocations: 27.91 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3805, allocations: 0 / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.3805, allocations: 11.98 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3805, allocations: 4 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3805, allocations: 0 / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004881/0.381, allocations: 233.2 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.381, allocations: 7.953 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.381, allocations: 0 / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.3812, allocations: 15.98 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.3812, allocations: 23.95 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.3813, allocations: 4 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.313e-05/0.3813, allocations: 91.27 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3813, allocations: 0 / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002394/0.3816, allocations: 27.89 kB / 1.288 GB, free: 6.344 MB / 0.9825 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.0001607/0.3817, allocations: 107.1 kB / 1.288 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004465/0.3822, allocations: 95.91 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3822, allocations: 3.938 kB / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.3824, allocations: 71.88 kB / 1.288 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.3827, allocations: 8 kB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/0.3832, allocations: 170.2 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.333e-05/0.3833, allocations: 71.33 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.096e-05/0.3833, allocations: 12 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.3834, allocations: 27.41 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3834, allocations: 0 / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of Templates: time 0.004616/0.388, allocations: 1.732 MB / 1.29 GB, free: 4.027 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 9.74385629594326]