Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001603/0.001603, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.00199/0.00199, allocations: 219.5 kB / 23.01 MB, free: 4.605 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.182/3.182, allocations: 0.49 GB / 0.7958 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002209/0.002209, allocations: 70.48 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3786, allocations: 176.1 MB / 1.327 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002126/0.3807, allocations: 0.7885 MB / 1.328 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.3821, allocations: 0.9055 MB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.3822, allocations: 0 / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.3822, allocations: 7.875 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.295e-05/0.3823, allocations: 19.84 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.3825, allocations: 31.97 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.3826, allocations: 87.81 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.3827, allocations: 27.92 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.3828, allocations: 35.91 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.3829, allocations: 51.81 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.383, allocations: 8 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.659e-05/0.383, allocations: 8 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/0.383, allocations: 19.92 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.357e-05/0.3831, allocations: 35.8 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.3832, allocations: 99.58 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3832, allocations: 0 / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3832, allocations: 0 / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.3832, allocations: 0 / 1.329 GB, free: 15.32 MB / 1.029 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.0006939/0.3839, allocations: 318 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.384, allocations: 8.031 kB / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.384, allocations: 12.89 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.3841, allocations: 118.4 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.3842, allocations: 12.31 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.3842, allocations: 4.375 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.3845, allocations: 114.5 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3845, allocations: 0 / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.3845, allocations: 4 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3845, allocations: 0 / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004181/0.3849, allocations: 103.9 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005651/0.3855, allocations: 303.8 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006373/0.3861, allocations: 118.5 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.3863, allocations: 60.86 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.3863, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.3864, allocations: 30.56 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.3864, allocations: 0 / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006691/0.387, allocations: 189.4 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.3871, allocations: 51.41 kB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.3872, allocations: 129.8 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.3872, allocations: 25.7 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.3873, allocations: 92.09 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.3873, allocations: 27.81 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.3874, allocations: 25.7 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3875, allocations: 318.8 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.3877, allocations: 43.95 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.3879, allocations: 43.95 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.3882, allocations: 100.8 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.3883, allocations: 4 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004055/0.3887, allocations: 134 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.3887, allocations: 9.562 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3887, allocations: 3.984 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3887, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.3889, allocations: 27.97 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3889, allocations: 4.062 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.389, allocations: 23.81 kB / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.389, allocations: 0 / 1.332 GB, free: 12.72 MB / 1.029 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.0001398/0.3892, allocations: 113.8 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.3892, allocations: 4 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004896/0.3897, allocations: 157.9 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.3897, allocations: 4 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.3897, allocations: 0 / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.3897, allocations: 3.938 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.3899, allocations: 180.6 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3899, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.3901, allocations: 27.97 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3901, allocations: 7.938 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3901, allocations: 0 / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3901, allocations: 0 / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3901, allocations: 0 / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004634/0.3906, allocations: 239.3 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.314e-05/0.3906, allocations: 12 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.3906, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.3907, allocations: 15.97 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.693e-05/0.3908, allocations: 23.91 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.3908, allocations: 4 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.11e-05/0.3909, allocations: 95.27 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3909, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002422/0.3911, allocations: 19.95 kB / 1.332 GB, free: 11.75 MB / 1.029 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.0001334/0.3913, allocations: 103.2 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004231/0.3917, allocations: 107.8 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3917, allocations: 4 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.3919, allocations: 47.95 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.3922, allocations: 16 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005252/0.3928, allocations: 192.1 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.3931, allocations: 0.6962 MB / 1.334 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.872e-05/0.3932, allocations: 15.42 kB / 1.334 GB, free: 10.51 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3932, allocations: 0 / 1.334 GB, free: 10.51 MB / 1.029 GB Notification: Performance of Templates: time 0.003067/0.3963, allocations: 1.257 MB / 1.335 GB, free: 9.262 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.11246494401712]