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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_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.001923/0.001923, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002789/0.002789, allocations: 194.1 kB / 16.14 MB, free: 6.645 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.459/1.459, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.894/2.894, allocations: 461.8 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 61.5 kB / 0.8984 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3871, allocations: 157.4 MB / 1.052 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002049/0.3892, allocations: 0.7665 MB / 1.053 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.3903, allocations: 0.8351 MB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.3903, allocations: 0 / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.3904, allocations: 3.938 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.137e-05/0.3905, allocations: 0 / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.3906, allocations: 27.97 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.541e-05/0.3907, allocations: 47.84 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3908, allocations: 12 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.285e-05/0.3909, allocations: 19.86 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.058e-05/0.391, allocations: 31.89 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.3911, allocations: 7.938 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.3911, allocations: 0 / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.3911, allocations: 8 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.3912, allocations: 19.86 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.3913, allocations: 43.84 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3913, allocations: 0 / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.52e-07/0.3913, allocations: 0 / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.3913, allocations: 0 / 1.054 GB, free: 6.992 MB / 0.8106 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.0006006/0.3919, allocations: 367.6 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.392, allocations: 8.031 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.392, allocations: 4.938 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.3922, allocations: 164.3 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.3922, allocations: 4.375 kB / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.3922, allocations: 384 / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.3924, allocations: 73.78 kB / 1.054 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3924, allocations: 0 / 1.054 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.3925, allocations: 3.984 kB / 1.054 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3925, allocations: 7.938 kB / 1.054 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.3927, allocations: 47.95 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004985/0.3932, allocations: 296.7 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.3934, allocations: 70.52 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.3936, allocations: 32.86 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.3936, allocations: 3.984 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.3936, allocations: 30.56 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3936, allocations: 3.938 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004294/0.394, allocations: 109.6 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.3941, allocations: 51.41 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.454e-05/0.3942, allocations: 109.8 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.3942, allocations: 33.7 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.3943, allocations: 80.14 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.3943, allocations: 11.81 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.3943, allocations: 21.7 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3945, allocations: 322.7 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.3946, allocations: 27.97 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.643e-05/0.3947, allocations: 19.98 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.3949, allocations: 48.81 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3949, allocations: 4 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002481/0.3951, allocations: 81.64 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3952, allocations: 12 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3952, allocations: 0 / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.3952, allocations: 3.938 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3953, allocations: 19.92 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3953, allocations: 0 / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.898e-05/0.3954, allocations: 7.984 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.3954, allocations: 4 kB / 1.056 GB, free: 4.723 MB / 0.8106 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 8.996e-05/0.3955, allocations: 115.3 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.3956, allocations: 15.89 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.3956, allocations: 7.906 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3956, allocations: 0 / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3956, allocations: 0 / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3956, allocations: 0 / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.3958, allocations: 181.5 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3958, allocations: 0 / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.105e-05/0.3959, allocations: 11.98 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3959, allocations: 0 / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.3959, allocations: 0 / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.3959, allocations: 4 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3959, allocations: 3.938 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.3962, allocations: 187.7 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.3963, allocations: 85.05 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.3963, allocations: 0 / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.3964, allocations: 11.98 kB / 1.056 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.3965, allocations: 11.98 kB / 1.056 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.3965, allocations: 4 kB / 1.056 GB, free: 4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.69e-05/0.3965, allocations: 87.27 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3966, allocations: 0 / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002286/0.3968, allocations: 8 kB / 1.057 GB, free: 3.906 MB / 0.8106 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.0001502/0.3969, allocations: 103.2 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000292/0.3972, allocations: 59.94 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3973, allocations: 0 / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.3974, allocations: 31.92 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.3978, allocations: 7.984 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004427/0.3982, allocations: 135.3 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.3986, allocations: 0.6887 MB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.088e-05/0.3986, allocations: 0 / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.3987, allocations: 11.44 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of SimCode: time 4.71e-07/0.3987, allocations: 0 / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of Templates: time 0.002988/0.4017, allocations: 0.779 MB / 1.058 GB, free: 2.043 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches