Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 161 kB / 24.16 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.04/1.04, allocations: 177.1 MB / 204.6 MB, free: 5.152 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.043/2.043, allocations: 377.9 MB / 0.624 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.7601 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.381e-05, allocations: 6.75 kB / 0.7601 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001598/0.001622, allocations: 0.7617 MB / 0.7608 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009108/0.002532, allocations: 0.8844 MB / 0.7617 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.002573, allocations: 1.25 kB / 0.7617 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.002602, allocations: 0 / 0.7617 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.114e-05/0.002683, allocations: 10.02 kB / 0.7617 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.002827, allocations: 33.44 kB / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.697e-05/0.002904, allocations: 41.55 kB / 0.7618 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.363e-05/0.002987, allocations: 11.98 kB / 0.7618 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.727e-05/0.003075, allocations: 22.61 kB / 0.7618 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.448e-05/0.003129, allocations: 30.06 kB / 0.7618 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.003146, allocations: 4 kB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-06/0.003154, allocations: 5.969 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.003174, allocations: 9.203 kB / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.998e-05/0.003194, allocations: 13.95 kB / 0.7619 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.904e-05/0.003283, allocations: 34.52 kB / 0.7619 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.003287, allocations: 5.25 kB / 0.7619 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003288, allocations: 0 / 0.7619 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.003292, allocations: 0 / 0.7619 GB, free: 4.781 MB / 0.7136 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.0003181/0.00361, allocations: 242.2 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.003647, allocations: 8.906 kB / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.003679, allocations: 12.92 kB / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.269e-05/0.003772, allocations: 118.7 kB / 0.7623 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.003788, allocations: 4.375 kB / 0.7623 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.003796, allocations: 384 / 0.7623 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.003913, allocations: 68.8 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.00392, allocations: 3.938 kB / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.003928, allocations: 4 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.003934, allocations: 0.6562 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.94e-05/0.003963, allocations: 16.56 kB / 0.7624 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.004195, allocations: 169.4 kB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.495e-05/0.00426, allocations: 34.62 kB / 0.7625 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.004279, allocations: 18.34 kB / 0.7626 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.004293, allocations: 7.938 kB / 0.7626 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.004311, allocations: 31.88 kB / 0.7626 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.004313, allocations: 0 / 0.7626 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001242/0.004437, allocations: 50.38 kB / 0.7626 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.004464, allocations: 52.16 kB / 0.7627 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.716e-05/0.004521, allocations: 110.7 kB / 0.7628 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.004532, allocations: 30.23 kB / 0.7628 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.004565, allocations: 96.08 kB / 0.7629 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.004581, allocations: 5.609 kB / 0.7629 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.00461, allocations: 17.7 kB / 0.7629 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.115e-05/0.004681, allocations: 322.8 kB / 0.7633 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.365e-05/0.004694, allocations: 4 kB / 0.7633 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.214e-05/0.004707, allocations: 6.438 kB / 0.7633 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.391e-05/0.00474, allocations: 20.83 kB / 0.7633 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.004742, allocations: 0 / 0.7633 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.749e-05/0.0048, allocations: 53.56 kB / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.004812, allocations: 11.98 kB / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.004816, allocations: 0 / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.004827, allocations: 2.719 kB / 0.7634 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.004893, allocations: 4 kB / 0.7634 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.004897, allocations: 4 kB / 0.7634 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.004922, allocations: 3.984 kB / 0.7634 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.004927, allocations: 4 kB / 0.7634 GB, free: 3.133 MB / 0.7136 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 5.322e-05/0.00498, allocations: 105.8 kB / 0.7635 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.004997, allocations: 8.781 kB / 0.7635 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/0.005017, allocations: 11.98 kB / 0.7635 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.005018, allocations: 1.125 kB / 0.7635 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.00502, allocations: 0 / 0.7635 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.005022, allocations: 0 / 0.7635 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.639e-05/0.005109, allocations: 80.97 kB / 0.7636 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.00511, allocations: 0 / 0.7636 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-05/0.005139, allocations: 7.938 kB / 0.7636 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.005142, allocations: 4 kB / 0.7636 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.005152, allocations: 12.25 kB / 0.7636 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.005153, allocations: 0 / 0.7636 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005153, allocations: 0 / 0.7636 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.153e-05/0.005245, allocations: 143.5 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-06/0.005254, allocations: 10.97 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.005265, allocations: 3.938 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.027e-05/0.005305, allocations: 7.984 kB / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.00535, allocations: 11.98 kB / 0.7638 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.005354, allocations: 0 / 0.7638 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.433e-05/0.005368, allocations: 17.14 kB / 0.7638 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.005368, allocations: 4 kB / 0.7638 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001257/0.005494, allocations: 8 kB / 0.7638 GB, free: 2.664 MB / 0.7136 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.0001031/0.005597, allocations: 81.77 kB / 0.7639 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.591e-05/0.005683, allocations: 24.78 kB / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.005686, allocations: 1.281 kB / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.566e-05/0.005711, allocations: 16.86 kB / 0.7639 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.005872, allocations: 18.48 kB / 0.7639 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.006153, allocations: 137.1 kB / 0.7641 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.892e-05/0.006191, allocations: 55.34 kB / 0.7641 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.006224, allocations: 7.031 kB / 0.7641 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.006297, allocations: 59.36 kB / 0.7642 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of SimCode: time 1.553e-06/0.006298, allocations: 0 / 0.7642 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of Templates: time 0.00271/0.009008, allocations: 0.9561 MB / 0.7651 GB, free: 1.301 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.18423625594005]