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.0008811/0.0008811, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.00189, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006989/0.0006989, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009017/0.001601, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9584/0.9584, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1023/1.061, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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 1.88/1.88, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5292/2.409, allocations: 123.3 MB / 0.728 GB, free: 5.828 MB / 0.698 GB " [Timeout remaining time 178] 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 2.665e-06/2.665e-06, allocations: 0 / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.946e-05, allocations: 4.125 kB / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002203/0.002232, allocations: 0.7548 MB / 0.7301 GB, free: 3.793 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.003359, allocations: 0.8802 MB / 0.7309 GB, free: 2.902 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/0.003401, allocations: 4 kB / 0.7309 GB, free: 2.898 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.003433, allocations: 7.922 kB / 0.7309 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.094e-05/0.003494, allocations: 6.078 kB / 0.731 GB, free: 2.887 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001025/0.003596, allocations: 24.36 kB / 0.731 GB, free: 2.863 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.003705, allocations: 45.55 kB / 0.731 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.003815, allocations: 14.16 kB / 0.731 GB, free: 2.812 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.003944, allocations: 38.7 kB / 0.7311 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.607e-05/0.00402, allocations: 21.5 kB / 0.7311 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.004049, allocations: 4.625 kB / 0.7311 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.004061, allocations: 4 kB / 0.7311 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.004085, allocations: 7.031 kB / 0.7311 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.004118, allocations: 9.422 kB / 0.7311 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.004237, allocations: 31.36 kB / 0.7311 GB, free: 2.711 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.348e-05/0.004261, allocations: 4.531 kB / 0.7311 GB, free: 2.707 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.382e-06/0.004262, allocations: 4 kB / 0.7312 GB, free: 2.703 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.175e-05/0.004284, allocations: 1.812 kB / 0.7312 GB, free: 2.703 MB / 0.698 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.0005292/0.004813, allocations: 252.6 kB / 0.7314 GB, free: 2.434 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.004857, allocations: 8.906 kB / 0.7314 GB, free: 2.426 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.004897, allocations: 4.938 kB / 0.7314 GB, free: 2.422 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.005015, allocations: 115.1 kB / 0.7315 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.005038, allocations: 384 / 0.7315 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.005051, allocations: 8.359 kB / 0.7315 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.005219, allocations: 75.55 kB / 0.7316 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.005229, allocations: 4.484 kB / 0.7316 GB, free: 2.191 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.005238, allocations: 0.6875 kB / 0.7316 GB, free: 2.191 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.005245, allocations: 0 / 0.7316 GB, free: 2.191 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.261e-05/0.005287, allocations: 17.64 kB / 0.7316 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/0.0056, allocations: 164.4 kB / 0.7318 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.005702, allocations: 35.66 kB / 0.7318 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.005726, allocations: 13.67 kB / 0.7318 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.005742, allocations: 3.938 kB / 0.7318 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.00577, allocations: 35 kB / 0.7319 GB, free: 1.895 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.806e-06/0.005773, allocations: 4.594 kB / 0.7319 GB, free: 1.891 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001506/0.005924, allocations: 46.86 kB / 0.7319 GB, free: 1.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.005961, allocations: 55.41 kB / 0.732 GB, free: 1.773 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.085e-05/0.006032, allocations: 110.7 kB / 0.7321 GB, free: 1.652 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.006046, allocations: 30.58 kB / 0.7321 GB, free: 1.617 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.006082, allocations: 85.19 kB / 0.7322 GB, free: 1.531 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.006105, allocations: 12.56 kB / 0.7322 GB, free: 1.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.006145, allocations: 17.7 kB / 0.7322 GB, free: 1.496 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.006241, allocations: 311.5 kB / 0.7325 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.006265, allocations: 4 kB / 0.7325 GB, free: 1.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.727e-05/0.006282, allocations: 9.734 kB / 0.7325 GB, free: 1.172 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.764e-05/0.00633, allocations: 28.77 kB / 0.7325 GB, free: 1.141 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.006332, allocations: 0 / 0.7325 GB, free: 1.141 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.441e-05/0.006417, allocations: 54.44 kB / 0.7326 GB, free: 1.082 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.006431, allocations: 4 kB / 0.7326 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.006436, allocations: 4.938 kB / 0.7326 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.006448, allocations: 0 / 0.7326 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.006567, allocations: 11.98 kB / 0.7326 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.006571, allocations: 0.5312 kB / 0.7326 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.454e-05/0.006605, allocations: 5.125 kB / 0.7326 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.006613, allocations: 3.984 kB / 0.7326 GB, free: 1.055 MB / 0.698 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 7.728e-05/0.00669, allocations: 114.5 kB / 0.7327 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.006713, allocations: 3.938 kB / 0.7327 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.00674, allocations: 12.53 kB / 0.7328 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.006742, allocations: 1.359 kB / 0.7328 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.006744, allocations: 0 / 0.7328 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.006747, allocations: 0 / 0.7328 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.006875, allocations: 82.33 kB / 0.7328 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.006877, allocations: 4 kB / 0.7328 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-05/0.006937, allocations: 13.72 kB / 0.7328 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.769e-06/0.006947, allocations: 4 kB / 0.7329 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.00695, allocations: 3.938 kB / 0.7329 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.006959, allocations: 4 kB / 0.7329 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.006961, allocations: 5.203 kB / 0.7329 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.006963, allocations: 0 / 0.7329 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.007096, allocations: 135.5 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.007109, allocations: 9.5 kB / 0.733 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.007177, allocations: 7.984 kB / 0.733 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.007228, allocations: 11.98 kB / 0.733 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.007232, allocations: 0 / 0.733 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.85e-05/0.007251, allocations: 8.859 kB / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.007251, allocations: 0.75 kB / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001774/0.007428, allocations: 12 kB / 0.733 GB, free: 0.5859 MB / 0.698 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.000129/0.007557, allocations: 81.75 kB / 0.7331 GB, free: 0.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.673e-05/0.007654, allocations: 21.91 kB / 0.7331 GB, free: 488 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.007662, allocations: 0 / 0.7331 GB, free: 488 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.54e-05/0.007697, allocations: 20.8 kB / 0.7332 GB, free: 464 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.007914, allocations: 13.11 kB / 0.7332 GB, free: 452 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.008451, allocations: 131.5 kB / 0.7333 GB, free: 296 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.575e-05/0.008497, allocations: 60.47 kB / 0.7334 GB, free: 216 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.997e-05/0.008537, allocations: 8.844 kB / 0.7334 GB, free: 208 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.553e-05/0.008612, allocations: 60.61 kB / 0.7334 GB, free: 148 kB / 0.698 GB Notification: Performance of SimCode: time 1.162e-06/0.008614, allocations: 0 / 0.7334 GB, free: 148 kB / 0.698 GB Notification: Performance of Templates: time 0.003447/0.01206, allocations: 0.9972 MB / 0.7344 GB, free: 15.19 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 -emit_protected -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold/Buildings_12_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: 4.994580374099314]