Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.001723/0.001723, 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.002205/0.002205, allocations: 219.1 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.162/3.162, allocations: 0.49 GB / 0.7958 GB, free: 33.51 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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [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.002053/0.002053, allocations: 73.72 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3257, allocations: 176.1 MB / 1.327 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002246/0.328, allocations: 0.7127 MB / 1.328 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.3292, allocations: 0.8782 MB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.3293, allocations: 0 / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.3293, allocations: 3.938 kB / 1.329 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.222e-05/0.3294, allocations: 3.938 kB / 1.329 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.3296, allocations: 19.92 kB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.3297, allocations: 47.91 kB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3298, allocations: 19.91 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.174e-05/0.3299, allocations: 19.94 kB / 1.329 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.85e-05/0.33, allocations: 27.91 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.33, allocations: 4 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.33, allocations: 4 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/0.33, allocations: 8 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.3301, allocations: 23.84 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.3302, allocations: 47.8 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3302, allocations: 0 / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3302, allocations: 0 / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.3302, allocations: 0 / 1.329 GB, free: 15.61 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005781/0.3308, allocations: 286.2 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3308, allocations: 8.031 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.3309, allocations: 0.9375 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.331, allocations: 126.3 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.331, allocations: 4.375 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.331, allocations: 384 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.3313, allocations: 73.58 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.3313, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.3313, allocations: 8 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3313, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.3315, allocations: 51.94 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.332, allocations: 259.8 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.3322, allocations: 58.55 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.3323, allocations: 32.91 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.3323, allocations: 0 / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.3323, allocations: 34.56 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3323, allocations: 0 / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.000419/0.3328, allocations: 109.5 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.3328, allocations: 63.39 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3329, allocations: 105.8 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3329, allocations: 25.7 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.458e-05/0.333, allocations: 88.12 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.333, allocations: 15.84 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.3331, allocations: 17.72 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3332, allocations: 322.8 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.3333, allocations: 27.92 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.869e-05/0.3334, allocations: 27.97 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.3336, allocations: 57.08 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3336, allocations: 0 / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002433/0.3338, allocations: 89.58 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3339, allocations: 4 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3339, allocations: 4 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3339, allocations: 0 / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.334, allocations: 11.98 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.334, allocations: 0 / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.942e-05/0.3341, allocations: 11.98 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.3341, allocations: 3.938 kB / 1.331 GB, free: 13.54 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: 2 (reaToInt.y,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.908e-05/0.3342, allocations: 118.3 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.3342, allocations: 3.953 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.3342, allocations: 8 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.3342, allocations: 4 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3342, allocations: 0 / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3343, allocations: 3.984 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.3344, allocations: 148.7 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.3344, allocations: 4 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.873e-05/0.3345, allocations: 7.984 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.3345, allocations: 7.938 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.3345, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.3345, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3346, allocations: 7.984 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.3348, allocations: 179.4 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.399e-05/0.3349, allocations: 7.984 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.3349, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.335, allocations: 7.984 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.335, allocations: 11.98 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.335, allocations: 4 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.281e-05/0.3351, allocations: 87.28 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3351, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002275/0.3353, allocations: 7.938 kB / 1.331 GB, free: 12.85 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: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001358/0.3355, allocations: 103.2 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002664/0.3357, allocations: 55.89 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3357, allocations: 4 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.3358, allocations: 27.97 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.3361, allocations: 8 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.3365, allocations: 151.3 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.3369, allocations: 0.6884 MB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.3369, allocations: 15.38 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/0.3369, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of Templates: time 0.002526/0.3394, allocations: 0.8152 MB / 1.333 GB, free: 10.93 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.769054639997194]