Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009948/0.0009948, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001155/0.00215, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000761/0.000761, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001499/0.00226, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9388/0.9388, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09524/1.034, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.301/2.301, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2479/2.549, allocations: 145.9 MB / 0.817 GB, free: 4.203 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.689e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001718/0.001735, allocations: 0.7705 MB / 0.819 GB, free: 2.113 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.002801, allocations: 0.8781 MB / 0.8199 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.812e-05/0.00284, allocations: 0 / 0.8199 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.002867, allocations: 3.938 kB / 0.8199 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.706e-05/0.002914, allocations: 7.875 kB / 0.8199 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.847e-05/0.003002, allocations: 27.89 kB / 0.8199 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.643e-05/0.003089, allocations: 43.92 kB / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.998e-05/0.003179, allocations: 11.98 kB / 0.82 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.003287, allocations: 35.91 kB / 0.82 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.583e-05/0.003353, allocations: 19.97 kB / 0.82 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.003379, allocations: 4 kB / 0.8201 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.003391, allocations: 4 kB / 0.8201 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.003409, allocations: 7.938 kB / 0.8201 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.003436, allocations: 8 kB / 0.8201 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.003536, allocations: 35.8 kB / 0.8201 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.685e-05/0.003553, allocations: 0 / 0.8201 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003553, allocations: 0 / 0.8201 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.739e-05/0.003571, allocations: 0 / 0.8201 GB, free: 1.016 MB / 0.7917 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.0004662/0.004037, allocations: 264.5 kB / 0.8204 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.004075, allocations: 8.922 kB / 0.8204 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.004111, allocations: 4.938 kB / 0.8204 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.004223, allocations: 113.7 kB / 0.8205 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.004251, allocations: 12.36 kB / 0.8205 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.004261, allocations: 384 / 0.8205 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.004411, allocations: 66.92 kB / 0.8206 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.00442, allocations: 3.938 kB / 0.8206 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.004429, allocations: 0 / 0.8206 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.004437, allocations: 4 kB / 0.8206 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.226e-05/0.00448, allocations: 19.92 kB / 0.8206 GB, free: 484 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.004771, allocations: 164.3 kB / 0.8207 GB, free: 304 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 8.59e-05/0.004857, allocations: 30.56 kB / 0.8208 GB, free: 264 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.532e-05/0.004883, allocations: 16.8 kB / 0.8208 GB, free: 244 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.004896, allocations: 3.938 kB / 0.8208 GB, free: 240 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.004923, allocations: 42.5 kB / 0.8208 GB, free: 188 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.004924, allocations: 0 / 0.8208 GB, free: 188 kB / 0.7917 GB Notification: Performance of matching and sorting (n=4): time 0.0001418/0.005066, allocations: 49.67 kB / 0.8209 GB, free: 132 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.005101, allocations: 59.39 kB / 0.8209 GB, free: 60 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.99e-05/0.00518, allocations: 107 kB / 0.821 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.005194, allocations: 25.7 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.005232, allocations: 92.08 kB / 0.8211 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.005252, allocations: 11.94 kB / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.005291, allocations: 13.72 kB / 0.8212 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.005384, allocations: 322.8 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.545e-05/0.0054, allocations: 0 / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.485e-05/0.005415, allocations: 7.938 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.333e-05/0.005458, allocations: 20.84 kB / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.00546, allocations: 4 kB / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.418e-05/0.005534, allocations: 49.61 kB / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.005548, allocations: 4 kB / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.005552, allocations: 0 / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.005567, allocations: 8 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.409e-05/0.005661, allocations: 7.984 kB / 0.8216 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.005666, allocations: 8.062 kB / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.572e-05/0.005701, allocations: 4 kB / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.005708, allocations: 4 kB / 0.8216 GB, free: 15.34 MB / 0.8073 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.95e-05/0.005778, allocations: 109.8 kB / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.005804, allocations: 15.92 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.005829, allocations: 8 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.005831, allocations: 0 / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.005833, allocations: 0 / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.005836, allocations: 0 / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.005966, allocations: 85.77 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.005968, allocations: 0 / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.006022, allocations: 11.98 kB / 0.8218 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-06/0.00603, allocations: 3.938 kB / 0.8218 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.006034, allocations: 3.938 kB / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.006039, allocations: 4 kB / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.006042, allocations: 4 kB / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.006043, allocations: 0 / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.00616, allocations: 143.5 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.006174, allocations: 7.938 kB / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.424e-05/0.006238, allocations: 0 / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.006291, allocations: 11.98 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.006297, allocations: 3.984 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.745e-05/0.006314, allocations: 12.86 kB / 0.822 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.006315, allocations: 0 / 0.822 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000199/0.006514, allocations: 4 kB / 0.822 GB, free: 14.87 MB / 0.8073 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.651e-05/0.0066, allocations: 84.8 kB / 0.8221 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.94e-05/0.00669, allocations: 28.83 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.006694, allocations: 0 / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.741e-05/0.006732, allocations: 28.77 kB / 0.8221 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.006923, allocations: 4 kB / 0.8221 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004422/0.007366, allocations: 136.7 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.211e-05/0.007408, allocations: 63.34 kB / 0.8223 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.91e-05/0.007447, allocations: 0 / 0.8223 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.007513, allocations: 55.38 kB / 0.8224 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of SimCode: time 8.92e-07/0.007514, allocations: 0 / 0.8224 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of Templates: time 0.003055/0.01057, allocations: 0.9987 MB / 0.8234 GB, free: 13.43 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.ref.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.0608044397085905]