Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.0008266/0.0008266, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002007/0.002833, allocations: 449.8 kB / 10.44 MB, free: 252 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.001258/0.001258, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001774/0.003033, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.007/1.007, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09918/1.106, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.957/1.957, allocations: 378.4 MB / 0.6079 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5483/2.506, allocations: 123.3 MB / 0.7283 GB, free: 5.703 MB / 0.698 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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.7296 GB, free: 4.383 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.266e-05/3.527e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.379 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.003064/0.003099, allocations: 0.758 MB / 0.7304 GB, free: 3.652 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.004421, allocations: 0.8855 MB / 0.7313 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.455e-05/0.004476, allocations: 0 / 0.7313 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.602e-05/0.004512, allocations: 7.938 kB / 0.7313 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.39e-05/0.004586, allocations: 13.45 kB / 0.7313 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.004723, allocations: 22.94 kB / 0.7313 GB, free: 2.719 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.004853, allocations: 41.34 kB / 0.7313 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.004982, allocations: 21.39 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.00514, allocations: 29.41 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.005254, allocations: 26.03 kB / 0.7314 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.005293, allocations: 4 kB / 0.7314 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.565e-05/0.005308, allocations: 8.438 kB / 0.7314 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.005339, allocations: 7.672 kB / 0.7314 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.005372, allocations: 10.41 kB / 0.7314 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.005513, allocations: 26.44 kB / 0.7315 GB, free: 2.566 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.701e-05/0.00553, allocations: 0 / 0.7315 GB, free: 2.566 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.005532, allocations: 0.7188 kB / 0.7315 GB, free: 2.566 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.813e-05/0.00555, allocations: 4 kB / 0.7315 GB, free: 2.562 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.0006026/0.006153, allocations: 253.2 kB / 0.7317 GB, free: 2.293 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.006209, allocations: 9.75 kB / 0.7317 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.006263, allocations: 9.594 kB / 0.7317 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.00641, allocations: 113.7 kB / 0.7318 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.006438, allocations: 384 / 0.7318 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.006456, allocations: 4.375 kB / 0.7318 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.006683, allocations: 75.66 kB / 0.7319 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.006695, allocations: 4.438 kB / 0.7319 GB, free: 2.051 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.006706, allocations: 0.7656 kB / 0.7319 GB, free: 2.051 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.006714, allocations: 1.375 kB / 0.7319 GB, free: 2.051 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.557e-05/0.006769, allocations: 11.98 kB / 0.7319 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.007211, allocations: 165.2 kB / 0.7321 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.007346, allocations: 42.48 kB / 0.7321 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.955e-05/0.007375, allocations: 13.47 kB / 0.7321 GB, free: 1.797 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.007395, allocations: 4.719 kB / 0.7321 GB, free: 1.793 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.007425, allocations: 35.53 kB / 0.7322 GB, free: 1.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.994e-06/0.007427, allocations: 1.75 kB / 0.7322 GB, free: 1.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001812/0.007608, allocations: 49.67 kB / 0.7322 GB, free: 1.695 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.007645, allocations: 59.34 kB / 0.7323 GB, free: 1.625 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.423e-05/0.00772, allocations: 110.7 kB / 0.7324 GB, free: 1.504 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.007733, allocations: 26.23 kB / 0.7324 GB, free: 1.473 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.00778, allocations: 88.64 kB / 0.7325 GB, free: 1.383 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.007804, allocations: 9.016 kB / 0.7325 GB, free: 1.375 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.007846, allocations: 21.69 kB / 0.7325 GB, free: 1.348 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.568e-05/0.007942, allocations: 311.4 kB / 0.7328 GB, free: 1.035 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.491e-05/0.007967, allocations: 8 kB / 0.7328 GB, free: 1.027 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.892e-05/0.007986, allocations: 10.09 kB / 0.7328 GB, free: 1.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.87e-05/0.008035, allocations: 16.84 kB / 0.7329 GB, free: 1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.008037, allocations: 4.719 kB / 0.7329 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.843e-05/0.008125, allocations: 49.62 kB / 0.7329 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.008144, allocations: 8.469 kB / 0.7329 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.00815, allocations: 0.9375 kB / 0.7329 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.008163, allocations: 0 / 0.7329 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.008278, allocations: 12.58 kB / 0.7329 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.008282, allocations: 0 / 0.7329 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.304e-05/0.008325, allocations: 5.859 kB / 0.7329 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.008331, allocations: 0 / 0.7329 GB, free: 0.918 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,intLesEquThr.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.93e-05/0.00841, allocations: 115.3 kB / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.008438, allocations: 3.938 kB / 0.7331 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.524e-05/0.008474, allocations: 12 kB / 0.7331 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.008476, allocations: 0.625 kB / 0.7331 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.008478, allocations: 0 / 0.7331 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.008482, allocations: 0.5625 kB / 0.7331 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.008616, allocations: 81.77 kB / 0.7331 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.008618, allocations: 2.25 kB / 0.7331 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.446e-05/0.008693, allocations: 11.98 kB / 0.7332 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.008706, allocations: 4 kB / 0.7332 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.008711, allocations: 5.031 kB / 0.7332 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.00872, allocations: 4 kB / 0.7332 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.008723, allocations: 1.25 kB / 0.7332 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.008725, allocations: 3.984 kB / 0.7332 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.008867, allocations: 139.8 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.008881, allocations: 5.016 kB / 0.7333 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.679e-05/0.008968, allocations: 7.984 kB / 0.7333 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.009027, allocations: 16.62 kB / 0.7333 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.009032, allocations: 0.5312 kB / 0.7333 GB, free: 480 kB / 0.698 GB Notification: Performance of sorting global known variables: time 2.343e-05/0.009056, allocations: 14.59 kB / 0.7334 GB, free: 464 kB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.009056, allocations: 0 / 0.7334 GB, free: 464 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002067/0.009262, allocations: 12 kB / 0.7334 GB, free: 452 kB / 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 (intLesEquThr.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.0001251/0.009388, allocations: 80.41 kB / 0.7334 GB, free: 364 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.00949, allocations: 26 kB / 0.7335 GB, free: 336 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.009498, allocations: 7.938 kB / 0.7335 GB, free: 328 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.591e-05/0.009544, allocations: 13.77 kB / 0.7335 GB, free: 312 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.009791, allocations: 45.7 kB / 0.7335 GB, free: 260 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000554/0.01034, allocations: 129.9 kB / 0.7337 GB, free: 104 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.387e-05/0.01039, allocations: 55.36 kB / 0.7337 GB, free: 28 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.565e-05/0.01043, allocations: 6.938 kB / 0.7337 GB, free: 24 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.01054, allocations: 63.36 kB / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of SimCode: time 1.352e-06/0.01054, allocations: 0 / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of Templates: time 0.004109/0.01465, allocations: 0.9628 MB / 0.7347 GB, free: 15.04 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.991702587343752]