Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 191.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.974/2.974, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 67.89 kB / 0.8688 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9684/0.9704, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002587/0.973, allocations: 0.7658 MB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.9744, allocations: 0.8351 MB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.362e-05/0.9745, allocations: 4 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.667e-05/0.9745, allocations: 0 / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.482e-05/0.9746, allocations: 7.922 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.9748, allocations: 27.91 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.58e-05/0.9749, allocations: 47.86 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.975, allocations: 15.98 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.052e-05/0.9751, allocations: 12 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.145e-05/0.9752, allocations: 35.83 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.9752, allocations: 4 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.421e-05/0.9753, allocations: 4 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.9753, allocations: 7.984 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.9753, allocations: 19.88 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.9754, allocations: 43.84 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.9755, allocations: 0 / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.365e-06/0.9755, allocations: 0 / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.595e-06/0.9755, allocations: 4 kB / 1.019 GB, free: 0.8594 MB / 0.7637 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.000697/0.9762, allocations: 365.3 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.9762, allocations: 12.03 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.9763, allocations: 0.9375 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.9765, allocations: 176.2 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.9765, allocations: 384 / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.9765, allocations: 4.375 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.9768, allocations: 73.78 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.9768, allocations: 0 / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.9768, allocations: 4 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.9768, allocations: 0 / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.977, allocations: 47.95 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006237/0.9777, allocations: 296.7 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.9779, allocations: 62.55 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.978, allocations: 32.89 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.978, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.9781, allocations: 38.56 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.9781, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004346/0.9785, allocations: 117.5 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.9786, allocations: 51.41 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.9787, allocations: 113.8 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.9787, allocations: 29.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/0.9788, allocations: 88.12 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.9788, allocations: 15.75 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.9789, allocations: 17.72 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002616/0.9792, allocations: 322.8 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.9793, allocations: 23.98 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.564e-05/0.9794, allocations: 23.97 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.9796, allocations: 52.75 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9796, allocations: 0 / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002532/0.9798, allocations: 89.59 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.9799, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.9799, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.9799, allocations: 7.984 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.98, allocations: 7.984 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.98, allocations: 4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.586e-05/0.9801, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.9801, allocations: 3.984 kB / 1.021 GB, free: 14.59 MB / 0.7794 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.0001235/0.9803, allocations: 121.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.9803, allocations: 3.906 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.9804, allocations: 11.91 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.9804, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.9804, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.9804, allocations: 3.938 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.9806, allocations: 173.6 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9806, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.717e-05/0.9807, allocations: 11.98 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.9807, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.9807, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.9807, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.9808, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.9811, allocations: 179.4 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.9811, allocations: 85.02 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.9812, allocations: 8.297 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.9813, allocations: 12 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.017e-05/0.9814, allocations: 7.984 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.9814, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.653e-05/0.9814, allocations: 91.27 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9815, allocations: 3.938 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002235/0.9817, allocations: 8 kB / 1.021 GB, free: 13.78 MB / 0.7794 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.0001843/0.9819, allocations: 111.7 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002794/0.9822, allocations: 59.94 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.9822, allocations: 0 / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.9823, allocations: 35.91 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.9826, allocations: 4 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.9832, allocations: 137.5 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.9836, allocations: 0.6846 MB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.176e-05/0.9837, allocations: 4 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.9837, allocations: 15.44 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.9837, allocations: 0 / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of Templates: time 0.003731/0.9875, allocations: 0.8057 MB / 1.023 GB, free: 11.87 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches