Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00201/0.00201, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003026/0.003026, allocations: 217 kB / 22.24 MB, free: 4.855 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.739/1.739, allocations: 230.6 MB / 256 MB, free: 8.07 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.929/2.929, allocations: 475.9 MB / 0.7699 GB, free: 4.867 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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_11_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_11_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.002123/0.002123, allocations: 70.83 kB / 1.117 GB, free: 41.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4252, allocations: 170 MB / 1.283 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002352/0.4275, allocations: 0.6995 MB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.4287, allocations: 0.8511 MB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.4287, allocations: 4 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.4288, allocations: 3.938 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.451e-05/0.4289, allocations: 3.938 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.429, allocations: 27.97 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.4291, allocations: 47.84 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.4293, allocations: 11.98 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.4294, allocations: 19.92 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.345e-05/0.4294, allocations: 23.92 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.4295, allocations: 4 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.45e-05/0.4295, allocations: 4 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/0.4295, allocations: 15.97 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.399e-05/0.4295, allocations: 15.88 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.4297, allocations: 55.78 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4297, allocations: 3.938 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4297, allocations: 0 / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.4297, allocations: 0 / 1.285 GB, free: 10.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006185/0.4303, allocations: 274.3 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4303, allocations: 12.03 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.4304, allocations: 4.891 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.4305, allocations: 118.4 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.4305, allocations: 4.375 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.4306, allocations: 4.375 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.4308, allocations: 73.58 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4308, allocations: 0 / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.4308, allocations: 4 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.4308, allocations: 4 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.431, allocations: 51.89 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.4314, allocations: 224.5 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.4316, allocations: 62.62 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.4318, allocations: 40.83 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.4318, allocations: 3.938 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.4318, allocations: 34.5 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4318, allocations: 0 / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004304/0.4322, allocations: 109.6 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.4323, allocations: 55.41 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.4324, allocations: 113.8 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.4324, allocations: 25.7 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.4325, allocations: 84.14 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.4325, allocations: 23.83 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.4326, allocations: 13.72 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4327, allocations: 318.8 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.4328, allocations: 23.97 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.491e-05/0.4329, allocations: 27.91 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.4331, allocations: 56.81 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4331, allocations: 0 / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002394/0.4333, allocations: 81.66 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.4334, allocations: 4 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.4334, allocations: 0 / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.4334, allocations: 0 / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.4335, allocations: 11.98 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4335, allocations: 4.312 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.798e-05/0.4336, allocations: 11.98 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.4336, allocations: 0 / 1.287 GB, free: 8.238 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: 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.977e-05/0.4337, allocations: 125.7 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.4337, allocations: 3.953 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.4337, allocations: 8 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.4337, allocations: 4 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4337, allocations: 0 / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.4337, allocations: 0 / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.4339, allocations: 113.2 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4339, allocations: 4 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.728e-05/0.434, allocations: 11.98 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.434, allocations: 0 / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.434, allocations: 3.938 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.434, allocations: 7.984 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.434, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.4343, allocations: 179.4 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.633e-05/0.4343, allocations: 12.33 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.4343, allocations: 7.938 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.4345, allocations: 7.984 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.4345, allocations: 15.98 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.4345, allocations: 3.938 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.992e-05/0.4346, allocations: 91.27 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.4346, allocations: 0 / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002225/0.4348, allocations: 4 kB / 1.287 GB, free: 7.586 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: 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.0001262/0.4349, allocations: 103.2 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002592/0.4352, allocations: 55.95 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4352, allocations: 0 / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.4353, allocations: 35.91 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.4356, allocations: 7.938 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.436, allocations: 129.6 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.059e-05/0.4361, allocations: 63.34 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.473e-05/0.4361, allocations: 8 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.4362, allocations: 15.42 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.4362, allocations: 0 / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of Templates: time 0.003803/0.44, allocations: 0.9535 MB / 1.288 GB, free: 6.184 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.695125291123986]