Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.366/1.366, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 183.1 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.4 MB / 0.5775 GB, free: 20.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008558/0.0008555, allocations: 98.12 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003509, allocations: 10.59 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2221, allocations: 106.3 MB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.3993, allocations: 131.7 MB / 1.029 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.3996, allocations: 71.95 kB / 1.029 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00278/0.4024, allocations: 0.9617 MB / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4024, allocations: 0 / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.4025, allocations: 4 kB / 1.03 GB, free: 11.53 MB / 0.6823 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.0004637/0.4029, allocations: 359.2 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.403, allocations: 12.03 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.403, allocations: 3.906 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.4032, allocations: 175 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.4032, allocations: 7.938 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.4032, allocations: 4 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.4034, allocations: 73.66 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.4035, allocations: 0 / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.4035, allocations: 0 / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4035, allocations: 0 / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.4037, allocations: 63.95 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.4041, allocations: 284.7 kB / 1.031 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.4043, allocations: 74.53 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.4044, allocations: 0 / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.4044, allocations: 34.56 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.4044, allocations: 0 / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0004116/0.4048, allocations: 125.7 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.4049, allocations: 51.41 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.514e-05/0.4049, allocations: 105 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.405, allocations: 29.7 kB / 1.031 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.405, allocations: 84.05 kB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.4051, allocations: 23.89 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/0.4051, allocations: 4 kB / 1.031 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4052, allocations: 314.8 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.4053, allocations: 23.98 kB / 1.032 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.943e-05/0.4054, allocations: 35.91 kB / 1.032 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.4055, allocations: 36.25 kB / 1.032 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4055, allocations: 0 / 1.032 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002445/0.4058, allocations: 97.48 kB / 1.032 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4058, allocations: 8 kB / 1.032 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4058, allocations: 4 kB / 1.032 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4058, allocations: 0 / 1.032 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.4059, allocations: 15.92 kB / 1.032 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.406, allocations: 4 kB / 1.032 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.989e-05/0.406, allocations: 7.984 kB / 1.032 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.4061, allocations: 4 kB / 1.032 GB, free: 9.297 MB / 0.6823 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 8.938e-05/0.4062, allocations: 121.8 kB / 1.032 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.4062, allocations: 4 kB / 1.032 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.4062, allocations: 7.906 kB / 1.032 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.4062, allocations: 4 kB / 1.032 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4062, allocations: 4 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.4062, allocations: 0 / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.4064, allocations: 173.6 kB / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4064, allocations: 0 / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-05/0.4065, allocations: 15.98 kB / 1.032 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.4065, allocations: 4 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.4066, allocations: 0 / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4066, allocations: 0 / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4066, allocations: 0 / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.4069, allocations: 203.3 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.407, allocations: 77.11 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.407, allocations: 4 kB / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.4071, allocations: 11.98 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.4072, allocations: 7.984 kB / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.4072, allocations: 4 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.615e-05/0.4072, allocations: 87.27 kB / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4072, allocations: 0 / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002174/0.4074, allocations: 23.94 kB / 1.032 GB, free: 8.461 MB / 0.6823 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.000151/0.4076, allocations: 103.2 kB / 1.033 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.4079, allocations: 63.89 kB / 1.033 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4079, allocations: 0 / 1.033 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.408, allocations: 43.97 kB / 1.033 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.4082, allocations: 5.672 kB / 1.033 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.4086, allocations: 145.4 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.4088, allocations: 0.6848 MB / 1.033 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.587e-05/0.4088, allocations: 4 kB / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.4089, allocations: 11.42 kB / 1.033 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of SimCode: time 2.11e-07/0.4089, allocations: 0 / 1.033 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of Templates: time 0.0027/0.4116, allocations: 0.7387 MB / 1.034 GB, free: 6.613 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches