Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.421/2.421, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 177 kB / 498.1 MB, free: 5.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.658/1.658, allocations: 223.2 MB / 0.7948 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009672/0.0009669, allocations: 98.23 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004838, allocations: 13.34 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3085, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1983/0.5069, allocations: 149.1 MB / 1.368 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.5072, allocations: 71.95 kB / 1.369 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003115/0.5103, allocations: 0.9494 MB / 1.369 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.415e-06/0.5104, allocations: 3.938 kB / 1.369 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.5104, allocations: 4 kB / 1.369 GB, free: 11.95 MB / 0.8698 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.0004992/0.5109, allocations: 359.2 kB / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.511, allocations: 12.03 kB / 1.37 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.511, allocations: 3.906 kB / 1.37 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.5112, allocations: 171 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.5112, allocations: 4 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.5113, allocations: 4 kB / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.5115, allocations: 69.66 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.5115, allocations: 0 / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.5115, allocations: 4 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.5116, allocations: 0 / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.5118, allocations: 59.94 kB / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.5123, allocations: 296.7 kB / 1.37 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.5125, allocations: 66.55 kB / 1.37 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.5125, allocations: 0 / 1.37 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.5126, allocations: 34.69 kB / 1.37 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.5126, allocations: 4 kB / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004749/0.5131, allocations: 129.5 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.5131, allocations: 59.36 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.202e-05/0.5132, allocations: 101 kB / 1.371 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.5132, allocations: 25.7 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.441e-05/0.5133, allocations: 88.08 kB / 1.371 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.5133, allocations: 11.81 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-06/0.5134, allocations: 4 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5135, allocations: 314.8 kB / 1.371 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.5136, allocations: 31.98 kB / 1.371 GB, free: 9.934 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.102e-05/0.5137, allocations: 27.97 kB / 1.371 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.5138, allocations: 23.98 kB / 1.371 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5138, allocations: 0 / 1.371 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002549/0.5141, allocations: 105.6 kB / 1.371 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.5141, allocations: 4 kB / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5141, allocations: 0 / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5142, allocations: 0 / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.5143, allocations: 15.98 kB / 1.371 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.5143, allocations: 4 kB / 1.371 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.159e-05/0.5144, allocations: 15.94 kB / 1.371 GB, free: 9.734 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.5144, allocations: 336 / 1.371 GB, free: 9.734 MB / 0.8698 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 (intLesThr.u,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.5145, allocations: 113.8 kB / 1.372 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.5146, allocations: 7.891 kB / 1.372 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.5146, allocations: 7.906 kB / 1.372 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.5146, allocations: 7.984 kB / 1.372 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.5146, allocations: 7.938 kB / 1.372 GB, free: 9.574 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5146, allocations: 4 kB / 1.372 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.5148, allocations: 169.6 kB / 1.372 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.5149, allocations: 0 / 1.372 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.837e-05/0.515, allocations: 15.98 kB / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.515, allocations: 0 / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.515, allocations: 3.984 kB / 1.372 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.515, allocations: 0 / 1.372 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.515, allocations: 0 / 1.372 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.5154, allocations: 199.4 kB / 1.372 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.5154, allocations: 84.95 kB / 1.372 GB, free: 9.023 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.5154, allocations: 4 kB / 1.372 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.5156, allocations: 15.98 kB / 1.372 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.5156, allocations: 7.984 kB / 1.372 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.5157, allocations: 4 kB / 1.372 GB, free: 8.992 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.101e-05/0.5157, allocations: 87.27 kB / 1.372 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5157, allocations: 0 / 1.372 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002346/0.516, allocations: 12 kB / 1.372 GB, free: 8.895 MB / 0.8698 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.u,intLesThr.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002225/0.5162, allocations: 111 kB / 1.372 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002945/0.5165, allocations: 71.88 kB / 1.372 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5165, allocations: 0 / 1.372 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.5166, allocations: 31.98 kB / 1.372 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.5169, allocations: 19.94 kB / 1.372 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.5173, allocations: 132.7 kB / 1.372 GB, free: 8.496 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.5176, allocations: 0.6848 MB / 1.373 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.535e-05/0.5176, allocations: 8 kB / 1.373 GB, free: 7.777 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.5177, allocations: 11.44 kB / 1.373 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of SimCode: time 8.41e-07/0.5177, allocations: 0 / 1.373 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of Templates: time 0.003302/0.521, allocations: 0.7336 MB / 1.374 GB, free: 7.039 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches