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.001352/0.001352, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001511/0.001511, allocations: 223.6 kB / 23 MB, free: 4.91 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.151/3.151, allocations: 0.4892 GB / 0.7951 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] 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.002091/0.002091, allocations: 77.92 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3017, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.00205/0.3038, allocations: 0.7628 MB / 1.327 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.3049, allocations: 0.8899 MB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.228e-05/0.3049, allocations: 0 / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.446e-05/0.3049, allocations: 11.88 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.719e-05/0.305, allocations: 7.922 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.3052, allocations: 39.89 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.3053, allocations: 83.83 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.3054, allocations: 27.92 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.196e-05/0.3055, allocations: 39.89 kB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.801e-05/0.3056, allocations: 43.83 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.3056, allocations: 8 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.759e-05/0.3057, allocations: 8 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.3057, allocations: 23.91 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/0.3057, allocations: 27.86 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.3059, allocations: 83.67 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3059, allocations: 3.984 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3059, allocations: 3.938 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3059, allocations: 0 / 1.328 GB, free: 15.82 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.0006299/0.3065, allocations: 325.9 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3066, allocations: 12.03 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.3066, allocations: 12.88 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.3067, allocations: 118.4 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.3067, allocations: 8.375 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.3068, allocations: 4.375 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.3071, allocations: 101.5 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3071, allocations: 4 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3071, allocations: 7.938 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3071, allocations: 0 / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003785/0.3075, allocations: 103.8 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.308, allocations: 260.4 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006121/0.3086, allocations: 122.5 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.3088, allocations: 52.81 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.3088, allocations: 4 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.3088, allocations: 30.56 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3088, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006941/0.3095, allocations: 189.7 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.3096, allocations: 55.34 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3097, allocations: 117.8 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.3097, allocations: 29.7 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.3098, allocations: 96.08 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.3098, allocations: 19.84 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.3098, allocations: 25.64 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.31, allocations: 326.8 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.3102, allocations: 47.95 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.3104, allocations: 48.02 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.3107, allocations: 92.78 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3107, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004273/0.3111, allocations: 145.5 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3112, allocations: 4 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3112, allocations: 7.938 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3112, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.3113, allocations: 27.97 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3114, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.3115, allocations: 19.94 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.3115, allocations: 7.922 kB / 1.331 GB, free: 13.27 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 9.661e-05/0.3116, allocations: 113.8 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.3116, allocations: 4 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004774/0.3121, allocations: 149.9 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3121, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3121, allocations: 7.984 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3121, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.3123, allocations: 145.1 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3123, allocations: 0 / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.3124, allocations: 23.97 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.3124, allocations: 3.984 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.3125, allocations: 8 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3125, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3125, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/0.3129, allocations: 239.3 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.3129, allocations: 4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.313, allocations: 3.938 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.3131, allocations: 19.97 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.3132, allocations: 19.97 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.3132, allocations: 4 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.696e-05/0.3133, allocations: 95.64 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3133, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002338/0.3135, allocations: 23.95 kB / 1.331 GB, free: 12.36 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.000111/0.3136, allocations: 107.2 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004275/0.3141, allocations: 99.89 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3141, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.3143, allocations: 63.89 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.3145, allocations: 9.031 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.315, allocations: 196 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.238e-05/0.315, allocations: 75.33 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.589e-05/0.3151, allocations: 19.42 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3151, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of Templates: time 0.002894/0.318, allocations: 1.269 MB / 1.333 GB, free: 10.47 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: 10.697542586829513]