Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009679/0.0009679, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001484/0.001484, allocations: 165 kB / 24.86 MB, free: 8.676 MB / 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 0.9598/0.9598, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.868/1.868, allocations: 359 MB / 0.6063 GB, free: 10.85 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.787e-05, allocations: 4.844 kB / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001461/0.001488, allocations: 0.7211 MB / 0.789 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008368/0.002325, allocations: 0.882 MB / 0.7899 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.141e-05/0.002367, allocations: 1.062 kB / 0.7899 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.002396, allocations: 3.938 kB / 0.7899 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.013e-05/0.002476, allocations: 3.938 kB / 0.7899 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.002622, allocations: 29.47 kB / 0.7899 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.359e-05/0.002706, allocations: 47.84 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.002818, allocations: 11.98 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.627e-05/0.002914, allocations: 19.98 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.066e-05/0.002975, allocations: 26.38 kB / 0.79 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.002997, allocations: 4 kB / 0.79 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.003007, allocations: 4 kB / 0.79 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.00303, allocations: 11.98 kB / 0.79 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.003052, allocations: 19.86 kB / 0.7901 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.642e-05/0.003148, allocations: 31.89 kB / 0.7901 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.003152, allocations: 5.75 kB / 0.7901 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.91e-07/0.003153, allocations: 0 / 0.7901 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.003158, allocations: 0 / 0.7901 GB, free: 10.37 MB / 0.7448 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.000391/0.003549, allocations: 372.6 kB / 0.7904 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.003585, allocations: 8.031 kB / 0.7905 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.003615, allocations: 9.484 kB / 0.7905 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.933e-05/0.003704, allocations: 121.9 kB / 0.7906 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.003724, allocations: 4.375 kB / 0.7906 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.003732, allocations: 384 / 0.7906 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.003858, allocations: 68.06 kB / 0.7906 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.003865, allocations: 3.938 kB / 0.7907 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.003872, allocations: 0 / 0.7907 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.003878, allocations: 4.844 kB / 0.7907 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.091e-05/0.003909, allocations: 11.98 kB / 0.7907 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.004209, allocations: 265.2 kB / 0.7909 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.837e-05/0.004287, allocations: 49.61 kB / 0.791 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.004311, allocations: 19.66 kB / 0.791 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.004322, allocations: 0 / 0.791 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.00434, allocations: 37.39 kB / 0.791 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.562e-06/0.004342, allocations: 3.984 kB / 0.791 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001301/0.004472, allocations: 49.69 kB / 0.7911 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.004498, allocations: 55.88 kB / 0.7911 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.201e-05/0.00456, allocations: 173.9 kB / 0.7913 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.00457, allocations: 26.42 kB / 0.7913 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.004613, allocations: 134.9 kB / 0.7914 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.004628, allocations: 8.469 kB / 0.7915 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.004657, allocations: 25.03 kB / 0.7915 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.004758, allocations: 0.4923 MB / 0.792 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.004771, allocations: 0 / 0.792 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.453e-05/0.004786, allocations: 7.984 kB / 0.792 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.168e-05/0.004817, allocations: 16.28 kB / 0.792 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.004821, allocations: 4 kB / 0.792 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.603e-05/0.004887, allocations: 58.3 kB / 0.792 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.004898, allocations: 9.156 kB / 0.792 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.004902, allocations: 0 / 0.792 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.204e-06/0.00491, allocations: 0 / 0.792 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/0.00497, allocations: 9.359 kB / 0.7921 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.004974, allocations: 4 kB / 0.7921 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.393e-05/0.004998, allocations: 0 / 0.7921 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.005008, allocations: 15.92 kB / 0.7921 GB, free: 8.145 MB / 0.7448 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 6.328e-05/0.005072, allocations: 158.3 kB / 0.7922 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.00509, allocations: 11.89 kB / 0.7922 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.916e-05/0.005109, allocations: 8 kB / 0.7922 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.005111, allocations: 0 / 0.7922 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.005113, allocations: 1.281 kB / 0.7922 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.005115, allocations: 0 / 0.7922 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.008e-05/0.005205, allocations: 105.2 kB / 0.7923 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005206, allocations: 0.8438 kB / 0.7924 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.778e-05/0.005234, allocations: 11.98 kB / 0.7924 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.91e-07/0.005235, allocations: 1.219 kB / 0.7924 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.005241, allocations: 3.938 kB / 0.7924 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.005241, allocations: 0 / 0.7924 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005242, allocations: 4 kB / 0.7924 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.005345, allocations: 201.2 kB / 0.7926 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.005355, allocations: 7.891 kB / 0.7926 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.729e-06/0.005365, allocations: 3.938 kB / 0.7926 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.75e-05/0.005402, allocations: 9.625 kB / 0.7926 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.005445, allocations: 11.98 kB / 0.7926 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.005449, allocations: 384 / 0.7926 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.864e-05/0.005487, allocations: 135.5 kB / 0.7927 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005487, allocations: 2.719 kB / 0.7927 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001383/0.005626, allocations: 4 kB / 0.7927 GB, free: 7.43 MB / 0.7448 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 8.051e-05/0.005706, allocations: 95.25 kB / 0.7928 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.939e-05/0.005785, allocations: 31.59 kB / 0.7929 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.005787, allocations: 0 / 0.7929 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.926e-05/0.005816, allocations: 28.17 kB / 0.7929 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.006002, allocations: 10.41 kB / 0.7929 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.006234, allocations: 136.1 kB / 0.793 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.331e-05/0.006267, allocations: 59.34 kB / 0.7931 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.859e-05/0.006296, allocations: 5.688 kB / 0.7931 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.419e-05/0.00635, allocations: 74.2 kB / 0.7932 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of SimCode: time 8.91e-07/0.006351, allocations: 0.7188 kB / 0.7932 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of Templates: time 0.002291/0.008641, allocations: 1.062 MB / 0.7942 GB, free: 5.906 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.0716835469938815]