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.001895/0.001895, allocations: 79.2 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.002333/0.002333, allocations: 165.1 kB / 22.46 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.549/1.549, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.047/3.047, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.807e-05/4.057e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002279/0.002319, allocations: 0.7043 MB / 0.9821 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.003924, allocations: 0.8509 MB / 0.983 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/0.003973, allocations: 4 kB / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.004003, allocations: 3.938 kB / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.503e-05/0.004088, allocations: 7.938 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.004267, allocations: 31.89 kB / 0.983 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.826e-05/0.004365, allocations: 47.8 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.004474, allocations: 11.98 kB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.229e-05/0.004566, allocations: 23.97 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.562e-05/0.004642, allocations: 27.91 kB / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.004667, allocations: 4 kB / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.004681, allocations: 7.938 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.004703, allocations: 4 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.004744, allocations: 19.91 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.004865, allocations: 47.92 kB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.004868, allocations: 0 / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.91e-07/0.004868, allocations: 0 / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.004872, allocations: 3.938 kB / 0.9832 GB, free: 10.16 MB / 0.9356 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.0005566/0.005428, allocations: 286.2 kB / 0.9835 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.005467, allocations: 8.031 kB / 0.9835 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.005505, allocations: 8.891 kB / 0.9835 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.005631, allocations: 113.8 kB / 0.9836 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.005647, allocations: 384 / 0.9836 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.005663, allocations: 8.375 kB / 0.9836 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.00588, allocations: 70.16 kB / 0.9837 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.005892, allocations: 3.938 kB / 0.9837 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.005906, allocations: 4 kB / 0.9837 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.005914, allocations: 3.984 kB / 0.9837 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.006136, allocations: 47.95 kB / 0.9837 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.006615, allocations: 224.5 kB / 0.9839 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.006841, allocations: 70.41 kB / 0.984 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.006957, allocations: 28.92 kB / 0.984 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.006981, allocations: 7.984 kB / 0.984 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.007014, allocations: 34.56 kB / 0.9841 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.007016, allocations: 0 / 0.9841 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0004685/0.007484, allocations: 105.6 kB / 0.9842 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.007546, allocations: 51.41 kB / 0.9842 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.007658, allocations: 109.8 kB / 0.9843 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.007681, allocations: 29.7 kB / 0.9843 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.538e-05/0.007767, allocations: 96.03 kB / 0.9844 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.007789, allocations: 8.016 kB / 0.9844 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.007837, allocations: 21.7 kB / 0.9845 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.007988, allocations: 314.8 kB / 0.9848 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.008099, allocations: 23.97 kB / 0.9848 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.835e-05/0.008198, allocations: 19.98 kB / 0.9848 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.008405, allocations: 60.81 kB / 0.9849 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.008409, allocations: 3.938 kB / 0.9849 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002488/0.008658, allocations: 85.53 kB / 0.985 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.008673, allocations: 8 kB / 0.985 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.008678, allocations: 0 / 0.985 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.00869, allocations: 3.938 kB / 0.985 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.008822, allocations: 15.98 kB / 0.985 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.008827, allocations: 0 / 0.985 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.62e-05/0.008903, allocations: 11.92 kB / 0.985 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.008912, allocations: 8 kB / 0.985 GB, free: 8.125 MB / 0.9356 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.0001022/0.009014, allocations: 113.8 kB / 0.9851 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.009044, allocations: 7.984 kB / 0.9851 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.009068, allocations: 8 kB / 0.9851 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.009069, allocations: 0 / 0.9851 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.009075, allocations: 4 kB / 0.9851 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.009077, allocations: 0 / 0.9851 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.009242, allocations: 117.3 kB / 0.9852 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.009246, allocations: 3.938 kB / 0.9852 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.951e-05/0.009336, allocations: 15.98 kB / 0.9853 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.009337, allocations: 0 / 0.9853 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.009347, allocations: 0 / 0.9853 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.009348, allocations: 0 / 0.9853 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.009352, allocations: 4 kB / 0.9853 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.009665, allocations: 183.8 kB / 0.9854 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.009679, allocations: 7.922 kB / 0.9854 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.009697, allocations: 4 kB / 0.9854 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.009848, allocations: 4 kB / 0.9855 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/0.009914, allocations: 19.97 kB / 0.9855 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.009919, allocations: 0 / 0.9855 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.036e-05/0.009979, allocations: 87.28 kB / 0.9856 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.009979, allocations: 0 / 0.9856 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002957/0.01027, allocations: 11.89 kB / 0.9856 GB, free: 7.488 MB / 0.9356 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.0001092/0.01038, allocations: 99.23 kB / 0.9857 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002726/0.01066, allocations: 59.89 kB / 0.9857 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01066, allocations: 0 / 0.9857 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.01078, allocations: 31.97 kB / 0.9857 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.01106, allocations: 7.938 kB / 0.9858 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.01141, allocations: 128.8 kB / 0.9859 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.65e-05/0.01148, allocations: 67.28 kB / 0.9859 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.152e-05/0.01152, allocations: 12.19 kB / 0.986 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.899e-05/0.01157, allocations: 16.48 kB / 0.986 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.01157, allocations: 0 / 0.986 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of Templates: time 0.003809/0.01538, allocations: 0.9441 MB / 0.9869 GB, free: 6.082 MB / 0.9356 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/jenkins/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: 8.585221901535988]