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.001625/0.001625, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001873/0.001873, allocations: 210.8 kB / 22.98 MB, free: 4.984 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.446/3.446, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.002068/0.002068, allocations: 70.14 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3672, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002502/0.3697, allocations: 0.7595 MB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.371, allocations: 0.89 MB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.404e-05/0.371, allocations: 3.938 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.687e-05/0.3711, allocations: 7.875 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.581e-05/0.3711, allocations: 11.88 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.3713, allocations: 39.89 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.3715, allocations: 87.81 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.3716, allocations: 23.98 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.475e-05/0.3717, allocations: 39.84 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.806e-05/0.3718, allocations: 55.81 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.3718, allocations: 8 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.814e-05/0.3718, allocations: 8 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.3719, allocations: 15.92 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.3719, allocations: 35.84 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.3721, allocations: 87.61 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3721, allocations: 0 / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3721, allocations: 0 / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3721, allocations: 0 / 1.329 GB, free: 14.89 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.0006894/0.3728, allocations: 326 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.3728, allocations: 8.031 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.3729, allocations: 8.891 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.373, allocations: 130.3 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.3731, allocations: 4.375 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.3731, allocations: 8.375 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.3734, allocations: 109.5 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.3734, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.3734, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3734, allocations: 4 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003976/0.3738, allocations: 95.89 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.3744, allocations: 272.4 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006879/0.3751, allocations: 114.5 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.3753, allocations: 60.81 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3753, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.3753, allocations: 30.56 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3753, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007094/0.376, allocations: 189.4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.3761, allocations: 51.41 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.3762, allocations: 117.8 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.3762, allocations: 29.7 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/0.3763, allocations: 96.08 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.3763, allocations: 19.83 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/0.3764, allocations: 25.7 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.3766, allocations: 322.8 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.3768, allocations: 43.95 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.377, allocations: 51.89 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.3773, allocations: 97.25 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3773, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000425/0.3778, allocations: 149.5 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3778, allocations: 4 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3778, allocations: 3.938 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3778, allocations: 0 / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.378, allocations: 27.97 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.378, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.3781, allocations: 15.94 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.3782, allocations: 15.92 kB / 1.331 GB, free: 12.34 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.0001132/0.3783, allocations: 117.8 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.3783, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004944/0.3788, allocations: 153.9 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3788, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3788, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3788, allocations: 3.984 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.379, allocations: 145.1 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.379, allocations: 4 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.3792, allocations: 23.97 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3792, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3792, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3792, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3792, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004909/0.3797, allocations: 251.3 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.3797, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.3797, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.3799, allocations: 15.97 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.3799, allocations: 19.98 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.38, allocations: 3.984 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.498e-05/0.38, allocations: 99.27 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.38, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002457/0.3803, allocations: 15.95 kB / 1.332 GB, free: 11.44 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.0001547/0.3804, allocations: 107.2 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004879/0.3809, allocations: 111.8 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3809, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.3811, allocations: 55.95 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.3815, allocations: 11.98 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/0.382, allocations: 177.9 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.667e-05/0.3821, allocations: 79.27 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.454e-05/0.3821, allocations: 11.94 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.279e-05/0.3822, allocations: 23.42 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of SimCode: time 4.3e-07/0.3822, allocations: 0 / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of Templates: time 0.004668/0.3869, allocations: 1.754 MB / 1.335 GB, free: 9.078 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 -s cvode -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: 9.534029920992907]