Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.00148/0.00148, 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.001495/0.001495, allocations: 210.9 kB / 22.24 MB, free: 4.859 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.589/1.589, 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 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.563/3.563, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] 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.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") [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.002084/0.002084, allocations: 70.02 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4049, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002287/0.4072, allocations: 0.7671 MB / 1.326 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.4084, allocations: 0.8781 MB / 1.327 GB, free: 300 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.4085, allocations: 0 / 1.327 GB, free: 300 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.341e-05/0.4085, allocations: 7.875 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.919e-05/0.4086, allocations: 19.84 kB / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.4088, allocations: 31.97 kB / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.409, allocations: 83.81 kB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.4091, allocations: 23.98 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.4093, allocations: 39.84 kB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.825e-05/0.4094, allocations: 47.81 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.4094, allocations: 8 kB / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.007e-05/0.4094, allocations: 8 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.4094, allocations: 15.92 kB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.123e-05/0.4095, allocations: 31.94 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.4097, allocations: 83.58 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4097, allocations: 0 / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4097, allocations: 3.938 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.4097, allocations: 8 kB / 1.328 GB, free: 15.89 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007245/0.4104, allocations: 322 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4105, allocations: 8.031 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.4105, allocations: 12.83 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.4107, allocations: 122.4 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.4107, allocations: 4.375 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.4107, allocations: 4.375 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.4111, allocations: 113.5 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4111, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.4111, allocations: 4 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.4111, allocations: 7.984 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.4115, allocations: 95.84 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.412, allocations: 264.4 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006198/0.4127, allocations: 122.5 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.4129, allocations: 52.8 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.4129, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.4129, allocations: 42.55 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.4129, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006972/0.4136, allocations: 177.5 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.4137, allocations: 63.34 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.4138, allocations: 117.8 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.4138, allocations: 25.7 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.4139, allocations: 96.08 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.4139, allocations: 15.84 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.4139, allocations: 29.64 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.4141, allocations: 322.8 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.4143, allocations: 47.95 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.4145, allocations: 43.95 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.4148, allocations: 100.7 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4148, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000404/0.4152, allocations: 141.5 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.4152, allocations: 4 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4152, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.4153, allocations: 4 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.4154, allocations: 19.97 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4154, allocations: 4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.4155, allocations: 27.92 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.4155, allocations: 3.938 kB / 1.33 GB, free: 13.34 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: 3 (reaToInt1.y,reaToInt.y,intLesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001159/0.4157, allocations: 118.4 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.4157, allocations: 4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.4157, allocations: 8.375 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4157, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.4157, allocations: 4 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4157, allocations: 3.984 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.4159, allocations: 133.2 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.4159, allocations: 3.984 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.4161, allocations: 23.92 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4161, allocations: 7.984 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.4161, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4161, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4161, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.4166, allocations: 239.3 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.4166, allocations: 11.94 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.4166, allocations: 3.984 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.4167, allocations: 11.98 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.858e-05/0.4168, allocations: 23.97 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.4168, allocations: 3.984 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.276e-05/0.4169, allocations: 103.6 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4169, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002483/0.4172, allocations: 15.95 kB / 1.331 GB, free: 12.58 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: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001385/0.4173, allocations: 99.12 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000436/0.4177, allocations: 116.5 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.4177, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.4179, allocations: 59.88 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.4183, allocations: 13.31 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.4187, allocations: 174.7 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.348e-05/0.4188, allocations: 75.33 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.805e-05/0.4189, allocations: 8 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.807e-05/0.419, allocations: 23.42 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.419, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of Templates: time 0.005033/0.424, allocations: 1.735 MB / 1.333 GB, free: 10.25 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.928507411852479]