Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001508/0.001508, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001601/0.001601, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.536/1.536, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.93/2.93, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.105e-05, allocations: 2.281 kB / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002004/0.002035, allocations: 0.7 MB / 1.001 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.003358, allocations: 0.8548 MB / 1.002 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.003418, allocations: 4 kB / 1.002 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.833e-05/0.003457, allocations: 3.938 kB / 1.002 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.687e-05/0.003554, allocations: 7.938 kB / 1.002 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.003719, allocations: 27.91 kB / 1.002 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.313e-05/0.003812, allocations: 47.84 kB / 1.002 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.00394, allocations: 11.98 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.004042, allocations: 27.97 kB / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.105e-05/0.004103, allocations: 19.92 kB / 1.002 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.004125, allocations: 4 kB / 1.002 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.004138, allocations: 4 kB / 1.002 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.004162, allocations: 7.984 kB / 1.002 GB, free: 5.527 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.004205, allocations: 19.91 kB / 1.002 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.004333, allocations: 47.86 kB / 1.002 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.004337, allocations: 4 kB / 1.002 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.222e-06/0.004338, allocations: 0 / 1.002 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.004342, allocations: 0 / 1.002 GB, free: 5.457 MB / 0.9512 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.0006156/0.004958, allocations: 278.2 kB / 1.002 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.004998, allocations: 15.95 kB / 1.002 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.005037, allocations: 8.891 kB / 1.002 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.00518, allocations: 113.7 kB / 1.002 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.005198, allocations: 8.375 kB / 1.002 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.005212, allocations: 4.375 kB / 1.002 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.005488, allocations: 70.22 kB / 1.002 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.005499, allocations: 3.938 kB / 1.002 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.005509, allocations: 0 / 1.002 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.005516, allocations: 4 kB / 1.002 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.005743, allocations: 55.81 kB / 1.002 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.006187, allocations: 216.6 kB / 1.003 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.006404, allocations: 62.48 kB / 1.003 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.006528, allocations: 40.84 kB / 1.003 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.00655, allocations: 7.984 kB / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.00658, allocations: 30.56 kB / 1.003 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.006582, allocations: 0 / 1.003 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0004442/0.007026, allocations: 105.6 kB / 1.003 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.007077, allocations: 51.41 kB / 1.003 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.555e-05/0.007173, allocations: 113.8 kB / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.007191, allocations: 25.7 kB / 1.003 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.007251, allocations: 96.06 kB / 1.003 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.007272, allocations: 11.98 kB / 1.003 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.007315, allocations: 17.72 kB / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.007451, allocations: 314.8 kB / 1.003 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.007562, allocations: 23.92 kB / 1.003 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.007681, allocations: 27.97 kB / 1.004 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.007899, allocations: 52.81 kB / 1.004 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.007904, allocations: 7.938 kB / 1.004 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002666/0.008171, allocations: 81.64 kB / 1.004 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.008188, allocations: 4 kB / 1.004 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.008193, allocations: 0 / 1.004 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.008207, allocations: 0 / 1.004 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.008332, allocations: 11.98 kB / 1.004 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.008341, allocations: 11.88 kB / 1.004 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.934e-05/0.00842, allocations: 7.984 kB / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.00843, allocations: 8 kB / 1.004 GB, free: 3.43 MB / 0.9512 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,intLesEquThr.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 0.0001633/0.008593, allocations: 114.3 kB / 1.004 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.008622, allocations: 3.953 kB / 1.004 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.008649, allocations: 8 kB / 1.004 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.008651, allocations: 4 kB / 1.004 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.008654, allocations: 0 / 1.004 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.008656, allocations: 0 / 1.004 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.008815, allocations: 117.3 kB / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.00882, allocations: 7.922 kB / 1.004 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.181e-05/0.008912, allocations: 11.98 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.008914, allocations: 4 kB / 1.004 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.008925, allocations: 4 kB / 1.004 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.008926, allocations: 0 / 1.004 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008927, allocations: 0 / 1.004 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.009272, allocations: 179.4 kB / 1.004 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.009288, allocations: 11.89 kB / 1.004 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.009305, allocations: 7.938 kB / 1.004 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.009412, allocations: 7.984 kB / 1.004 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/0.009484, allocations: 12.36 kB / 1.004 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.009489, allocations: 4 kB / 1.004 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.468e-05/0.009554, allocations: 91.27 kB / 1.004 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.009554, allocations: 0 / 1.004 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002306/0.009784, allocations: 7.938 kB / 1.004 GB, free: 2.785 MB / 0.9512 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 (intLesEquThr.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.0001272/0.009912, allocations: 99.23 kB / 1.004 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002767/0.01019, allocations: 55.95 kB / 1.004 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.01019, allocations: 0 / 1.004 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.01032, allocations: 35.91 kB / 1.004 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.01062, allocations: 7.938 kB / 1.004 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.011, allocations: 128.8 kB / 1.005 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.773e-05/0.01107, allocations: 67.28 kB / 1.005 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.511e-05/0.01112, allocations: 11.98 kB / 1.005 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.33e-05/0.01117, allocations: 12.5 kB / 1.005 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of SimCode: time 6.51e-07/0.01117, allocations: 3.938 kB / 1.005 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of Templates: time 0.003972/0.01515, allocations: 0.9481 MB / 1.006 GB, free: 1.375 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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: 8.427542250603437]