Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 113.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001965/0.001965, allocations: 193.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.104/3.104, allocations: 489.3 MB / 0.7687 GB, free: 3.762 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 71.88 kB / 1.103 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9923/0.9945, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002148/0.9967, allocations: 0.7208 MB / 1.263 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.9977, allocations: 0.8282 MB / 1.264 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.671e-05/0.9978, allocations: 0.9062 kB / 1.264 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/0.9978, allocations: 4.781 kB / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.429e-05/0.9979, allocations: 8.812 kB / 1.264 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.9981, allocations: 31.53 kB / 1.264 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.9982, allocations: 51.48 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.9983, allocations: 12.3 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.337e-05/0.9984, allocations: 18.83 kB / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.385e-05/0.9985, allocations: 24.75 kB / 1.264 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.9985, allocations: 4.156 kB / 1.264 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.489e-05/0.9985, allocations: 4.5 kB / 1.264 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.9986, allocations: 15.89 kB / 1.264 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.9986, allocations: 21.78 kB / 1.264 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.9987, allocations: 45.89 kB / 1.264 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9987, allocations: 0.75 kB / 1.264 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9987, allocations: 0 / 1.264 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.9988, allocations: 0.9062 kB / 1.264 GB, free: 6.805 MB / 0.9981 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.0004829/0.9992, allocations: 358.7 kB / 1.265 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.9993, allocations: 9.656 kB / 1.265 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.9993, allocations: 7.891 kB / 1.265 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.9994, allocations: 172.4 kB / 1.265 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.9995, allocations: 6.094 kB / 1.265 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.9995, allocations: 6.984 kB / 1.265 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.9997, allocations: 72.97 kB / 1.265 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.9997, allocations: 0 / 1.265 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.9997, allocations: 0.7812 kB / 1.265 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.9997, allocations: 0.75 kB / 1.265 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/1, allocations: 48.23 kB / 1.265 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/1, allocations: 298 kB / 1.265 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/1.001, allocations: 61.25 kB / 1.265 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/1.001, allocations: 29.8 kB / 1.265 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/1.001, allocations: 0 / 1.265 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/1.001, allocations: 40.66 kB / 1.265 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/1.001, allocations: 0 / 1.265 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004385/1.001, allocations: 105.5 kB / 1.265 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/1.001, allocations: 52.19 kB / 1.266 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.693e-05/1.001, allocations: 114.4 kB / 1.266 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/1.001, allocations: 27.09 kB / 1.266 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/1.001, allocations: 90.8 kB / 1.266 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/1.001, allocations: 14.66 kB / 1.266 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/1.001, allocations: 16.22 kB / 1.266 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.295e-05/1.002, allocations: 321.8 kB / 1.266 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/1.002, allocations: 26.31 kB / 1.266 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/1.002, allocations: 23.27 kB / 1.266 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/1.002, allocations: 57.7 kB / 1.266 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.002, allocations: 3.938 kB / 1.266 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002502/1.002, allocations: 87.61 kB / 1.266 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.002, allocations: 5.859 kB / 1.266 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1.002, allocations: 0 / 1.266 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.002, allocations: 0.7188 kB / 1.266 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/1.002, allocations: 12.39 kB / 1.266 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.002, allocations: 1.125 kB / 1.266 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.582e-05/1.002, allocations: 11.59 kB / 1.266 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/1.003, allocations: 2.172 kB / 1.266 GB, free: 5.004 MB / 0.9981 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 6.168e-05/1.003, allocations: 116.9 kB / 1.266 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/1.003, allocations: 9.984 kB / 1.266 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/1.003, allocations: 10.19 kB / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/1.003, allocations: 1.062 kB / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.003, allocations: 0.75 kB / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/1.003, allocations: 4.781 kB / 1.266 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/1.003, allocations: 178.3 kB / 1.267 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.003, allocations: 1.031 kB / 1.267 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.966e-05/1.003, allocations: 15.23 kB / 1.267 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/1.003, allocations: 1 kB / 1.267 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/1.003, allocations: 0.5625 kB / 1.267 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.003, allocations: 1.469 kB / 1.267 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/1.003, allocations: 0 / 1.267 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/1.003, allocations: 184.3 kB / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/1.003, allocations: 83.36 kB / 1.267 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/1.003, allocations: 0.7812 kB / 1.267 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/1.003, allocations: 11.94 kB / 1.267 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/1.003, allocations: 12.06 kB / 1.267 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/1.003, allocations: 1.984 kB / 1.267 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.076e-05/1.004, allocations: 83.48 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.004, allocations: 0 / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002185/1.004, allocations: 14.59 kB / 1.267 GB, free: 4.312 MB / 0.9981 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.0001108/1.004, allocations: 105.9 kB / 1.267 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002723/1.004, allocations: 52.31 kB / 1.267 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.004, allocations: 4.688 kB / 1.267 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/1.004, allocations: 32.02 kB / 1.267 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/1.005, allocations: 3.344 kB / 1.267 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/1.005, allocations: 167.6 kB / 1.267 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/1.005, allocations: 0.6812 MB / 1.268 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/1.005, allocations: 16.06 kB / 1.268 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/1.005, allocations: 1.594 kB / 1.268 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of Templates: time 0.003099/1.008, allocations: 0.8109 MB / 1.269 GB, free: 3.285 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.445912932045758]