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.008444/0.008444, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001695/0.001695, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.679/1.679, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.932/2.932, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.4452, allocations: 157.4 MB / 1.208 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002694/0.448, allocations: 0.7132 MB / 1.208 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.4494, allocations: 0.8234 MB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.33e-05/0.4495, allocations: 7.938 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.386e-05/0.4496, allocations: 3.938 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.4497, allocations: 3.938 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.4499, allocations: 31.91 kB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.4501, allocations: 51.83 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.4502, allocations: 12 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.4503, allocations: 15.98 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.432e-05/0.4504, allocations: 35.83 kB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.4505, allocations: 4 kB / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.533e-05/0.4505, allocations: 4 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.597e-05/0.4505, allocations: 4 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.4506, allocations: 27.86 kB / 1.209 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.4507, allocations: 43.84 kB / 1.209 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4507, allocations: 0 / 1.209 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.916e-06/0.4507, allocations: 0 / 1.209 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.4508, allocations: 0 / 1.209 GB, free: 7.809 MB / 0.9669 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.0007106/0.4515, allocations: 359.4 kB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.881e-05/0.4516, allocations: 12.62 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.4516, allocations: 4.844 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.4518, allocations: 168.3 kB / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.4519, allocations: 4.375 kB / 1.21 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.4519, allocations: 4.375 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.4521, allocations: 73.59 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.4521, allocations: 0 / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.4522, allocations: 0 / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.4522, allocations: 0 / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.4524, allocations: 51.94 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.453, allocations: 300.6 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.4532, allocations: 70.52 kB / 1.21 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.4533, allocations: 28.86 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.4534, allocations: 0 / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.4534, allocations: 46.55 kB / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.4534, allocations: 0 / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004496/0.4539, allocations: 101.6 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.4539, allocations: 55.41 kB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.4541, allocations: 109.8 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.4541, allocations: 29.7 kB / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.733e-05/0.4542, allocations: 88.14 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.4542, allocations: 7.906 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.4543, allocations: 17.7 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.4544, allocations: 318.8 kB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.4545, allocations: 23.97 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.459e-05/0.4546, allocations: 27.92 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.4548, allocations: 52.81 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4548, allocations: 0 / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002566/0.4551, allocations: 93.48 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.4551, allocations: 4 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4551, allocations: 0 / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.4551, allocations: 0 / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.4553, allocations: 11.98 kB / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.4553, allocations: 4 kB / 1.211 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.979e-05/0.4554, allocations: 11.98 kB / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.4554, allocations: 0 / 1.211 GB, free: 5.547 MB / 0.9669 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.0001312/0.4555, allocations: 117.8 kB / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.4556, allocations: 0 / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.878e-05/0.4556, allocations: 11.89 kB / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4556, allocations: 4 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4556, allocations: 0 / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4556, allocations: 0 / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.4559, allocations: 173.5 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.4559, allocations: 11.98 kB / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.16e-05/0.456, allocations: 15.92 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.456, allocations: 7.938 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.456, allocations: 0 / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.456, allocations: 0 / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.456, allocations: 0 / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.4563, allocations: 187.7 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.4564, allocations: 81.14 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.4564, allocations: 4 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.4565, allocations: 11.98 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.4566, allocations: 11.98 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.4566, allocations: 0 / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.495e-05/0.4567, allocations: 87.27 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4567, allocations: 0 / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002325/0.4569, allocations: 11.94 kB / 1.212 GB, free: 4.723 MB / 0.9669 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.0001888/0.4571, allocations: 104.8 kB / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002711/0.4574, allocations: 51.89 kB / 1.212 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4574, allocations: 4 kB / 1.212 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.4575, allocations: 31.97 kB / 1.212 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.4579, allocations: 4 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.4583, allocations: 137.4 kB / 1.212 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.4587, allocations: 0.6845 MB / 1.213 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.695e-05/0.4588, allocations: 7.938 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.4588, allocations: 19.42 kB / 1.213 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.4588, allocations: 0 / 1.213 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of Templates: time 0.004009/0.4629, allocations: 0.8879 MB / 1.214 GB, free: 2.746 MB / 0.9669 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