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.461/1.461, allocations: 249.5 MB / 257 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 176.9 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0008921/0.0008921, allocations: 88.36 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.173e-05/2.176e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2228, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7359/0.9588, allocations: 131.9 MB / 1.014 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.9591, allocations: 70.52 kB / 1.014 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003494/0.9626, allocations: 0.95 MB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9626, allocations: 6.734 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.9627, allocations: 4 kB / 1.015 GB, free: 4.938 MB / 0.6355 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.0005113/0.9632, allocations: 354.1 kB / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.9633, allocations: 12.03 kB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.9633, allocations: 3.906 kB / 1.015 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.9635, allocations: 171 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.9635, allocations: 3.688 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.9636, allocations: 8 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001034/0.9637, allocations: 26.38 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.9638, allocations: 57.11 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.9638, allocations: 0 / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.9639, allocations: 0 / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.9639, allocations: 3.938 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.9644, allocations: 257.1 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.9645, allocations: 52.38 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/0.9646, allocations: 19.41 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.9646, allocations: 4 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.9646, allocations: 30.56 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.9646, allocations: 0 / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002225/0.9649, allocations: 55.78 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.9649, allocations: 53.84 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.9651, allocations: 108 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.9651, allocations: 25.7 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.9651, allocations: 83.14 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.9652, allocations: 15.19 kB / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.9652, allocations: 0 / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.9653, allocations: 314.8 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/0.9654, allocations: 18.17 kB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.873e-05/0.9654, allocations: 11.44 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.314e-05/0.9655, allocations: 15.44 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9655, allocations: 0 / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001297/0.9656, allocations: 52.38 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.9657, allocations: 4 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.9657, allocations: 0 / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.9657, allocations: 7.984 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.9659, allocations: 11.98 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.9659, allocations: 0 / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.966, allocations: 12 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.966, allocations: 3.984 kB / 1.017 GB, free: 3.074 MB / 0.6355 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 () * 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 9.964e-05/0.9661, allocations: 112.9 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/0.9662, allocations: 7.844 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/0.9662, allocations: 11.84 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.9662, allocations: 0 / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.9662, allocations: 0 / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.9662, allocations: 7.875 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.9665, allocations: 157 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.9665, allocations: 4 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.9666, allocations: 15.98 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.9666, allocations: 0 / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.9666, allocations: 0 / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.9666, allocations: 0 / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.9666, allocations: 0 / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.9668, allocations: 154.2 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.9669, allocations: 88.95 kB / 1.017 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.9669, allocations: 6.938 kB / 1.017 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.9671, allocations: 11.98 kB / 1.017 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.9672, allocations: 11.23 kB / 1.017 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.9672, allocations: 4 kB / 1.017 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.886e-05/0.9673, allocations: 82.41 kB / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9673, allocations: 0 / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003477/0.9676, allocations: 12 kB / 1.017 GB, free: 2.344 MB / 0.6355 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 () * 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.0001559/0.9678, allocations: 111.2 kB / 1.018 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.9679, allocations: 25.62 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.9679, allocations: 0 / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.63e-05/0.968, allocations: 22.36 kB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.9683, allocations: 5.875 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.9686, allocations: 80.66 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.9689, allocations: 0.6923 MB / 1.018 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.103e-05/0.969, allocations: 4 kB / 1.018 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.969, allocations: 11.44 kB / 1.018 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of SimCode: time 3.31e-07/0.969, allocations: 0 / 1.018 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of Templates: time 0.003282/0.9723, allocations: 0.6942 MB / 1.019 GB, free: 0.6875 MB / 0.6355 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