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.00139/0.00139, allocations: 80.41 kB / 20.23 MB, free: 4.195 MB / 18.57 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.001583/0.001583, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.506/1.506, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.754/2.754, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.106e-05/4.322e-05, allocations: 10.14 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002114/0.002157, allocations: 0.6976 MB / 0.7871 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.003462, allocations: 0.8643 MB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-05/0.003512, allocations: 0 / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.003547, allocations: 3.938 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.003648, allocations: 12.42 kB / 0.7879 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.003853, allocations: 20.42 kB / 0.788 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.003984, allocations: 47.91 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.004119, allocations: 12.8 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.004244, allocations: 27.86 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.724e-05/0.004321, allocations: 20.62 kB / 0.7881 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.004349, allocations: 5.188 kB / 0.7881 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.46e-05/0.004364, allocations: 4 kB / 0.7881 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.004399, allocations: 19.91 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.781e-05/0.004437, allocations: 4 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.004593, allocations: 58.53 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.004598, allocations: 0 / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.202e-06/0.004599, allocations: 0 / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.004605, allocations: 0 / 0.7881 GB, free: 11.03 MB / 0.7448 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.0006118/0.005217, allocations: 278.2 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.005258, allocations: 12.03 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.275e-05/0.00531, allocations: 10.42 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.005456, allocations: 113.8 kB / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.005479, allocations: 8.312 kB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.005492, allocations: 384 / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.005722, allocations: 70.81 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.005733, allocations: 4.719 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.005745, allocations: 0 / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.00575, allocations: 0.875 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.005988, allocations: 49.8 kB / 0.7887 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.006456, allocations: 236.5 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.006681, allocations: 66.42 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.006806, allocations: 30.44 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.006825, allocations: 0 / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/0.006872, allocations: 38.56 kB / 0.789 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.006873, allocations: 1.062 kB / 0.789 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.000488/0.007361, allocations: 110.2 kB / 0.7891 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.007411, allocations: 53.97 kB / 0.7892 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.007532, allocations: 117.8 kB / 0.7893 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.007553, allocations: 25.7 kB / 0.7893 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.599e-05/0.007629, allocations: 96.02 kB / 0.7894 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.00765, allocations: 7.953 kB / 0.7894 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.007697, allocations: 17.72 kB / 0.7894 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.007886, allocations: 318.8 kB / 0.7897 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.007995, allocations: 20.52 kB / 0.7898 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.008098, allocations: 24.69 kB / 0.7898 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.008306, allocations: 58.97 kB / 0.7898 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.00831, allocations: 3.938 kB / 0.7898 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002699/0.00858, allocations: 86.14 kB / 0.7899 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.008599, allocations: 9.547 kB / 0.7899 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.008604, allocations: 0.6562 kB / 0.7899 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.008625, allocations: 0.7188 kB / 0.7899 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.008764, allocations: 11.98 kB / 0.7899 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.008769, allocations: 1.062 kB / 0.7899 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.608e-05/0.008855, allocations: 11.98 kB / 0.79 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.008865, allocations: 5.375 kB / 0.79 GB, free: 9.012 MB / 0.7448 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 0.0001057/0.008971, allocations: 114.1 kB / 0.7901 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.008999, allocations: 0 / 0.7901 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.009029, allocations: 13.03 kB / 0.7901 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.009034, allocations: 3.984 kB / 0.7901 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.009039, allocations: 0 / 0.7901 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.009041, allocations: 0.6562 kB / 0.7901 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.009218, allocations: 117.3 kB / 0.7902 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.009224, allocations: 8.922 kB / 0.7902 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.009326, allocations: 15.92 kB / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.009328, allocations: 0.8438 kB / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.009336, allocations: 4 kB / 0.7902 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.009338, allocations: 1.562 kB / 0.7902 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009339, allocations: 0 / 0.7902 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.00969, allocations: 176.1 kB / 0.7904 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.009707, allocations: 12.86 kB / 0.7904 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.009723, allocations: 3.938 kB / 0.7904 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.009835, allocations: 10.08 kB / 0.7904 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.009904, allocations: 11.98 kB / 0.7904 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.009911, allocations: 4 kB / 0.7904 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.389e-05/0.009975, allocations: 87.27 kB / 0.7905 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009975, allocations: 0 / 0.7905 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002364/0.01021, allocations: 11.94 kB / 0.7905 GB, free: 8.379 MB / 0.7448 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.0001376/0.01035, allocations: 101.4 kB / 0.7906 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002775/0.01063, allocations: 51.95 kB / 0.7907 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01063, allocations: 0.5 kB / 0.7907 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.01075, allocations: 32.5 kB / 0.7907 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.01108, allocations: 17.83 kB / 0.7907 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004037/0.01148, allocations: 124.6 kB / 0.7908 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.46e-05/0.01157, allocations: 71.27 kB / 0.7909 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.35e-05/0.01161, allocations: 5.75 kB / 0.7909 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.01166, allocations: 13.03 kB / 0.7909 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.01166, allocations: 0.7812 kB / 0.7909 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of Templates: time 0.003945/0.01561, allocations: 0.9787 MB / 0.7919 GB, free: 6.969 MB / 0.7448 GB " [Timeout remaining time 300] 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: 7.805404425016604]