Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001226/0.001226, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002092/0.003318, 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.001234/0.001234, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001692/0.002925, 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.07/1.07, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09993/1.17, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.884/1.884, allocations: 378.4 MB / 0.6079 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5695/2.454, allocations: 123.3 MB / 0.7283 GB, free: 5.758 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.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.807e-06/3.807e-06, allocations: 3.984 kB / 0.7297 GB, free: 4.379 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.256e-05, allocations: 4.562 kB / 0.7297 GB, free: 4.375 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002672/0.002704, allocations: 0.8648 MB / 0.7306 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.003875, allocations: 0.9353 MB / 0.7315 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.003976, allocations: 0 / 0.7315 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.357e-05/0.004069, allocations: 22.73 kB / 0.7315 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.413e-05/0.004113, allocations: 7.984 kB / 0.7315 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.004265, allocations: 36.27 kB / 0.7315 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.004411, allocations: 76.88 kB / 0.7316 GB, free: 2.477 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.004538, allocations: 24.97 kB / 0.7316 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.004789, allocations: 65.5 kB / 0.7317 GB, free: 2.391 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.314e-05/0.004882, allocations: 19.92 kB / 0.7317 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.004905, allocations: 8 kB / 0.7317 GB, free: 2.363 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.955e-05/0.004974, allocations: 8 kB / 0.7317 GB, free: 2.355 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.005, allocations: 11.94 kB / 0.7317 GB, free: 2.344 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.005027, allocations: 12.44 kB / 0.7318 GB, free: 2.332 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.005185, allocations: 49.23 kB / 0.7318 GB, free: 2.285 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.578e-05/0.005201, allocations: 0 / 0.7318 GB, free: 2.285 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.096e-06/0.005204, allocations: 4 kB / 0.7318 GB, free: 2.281 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.005221, allocations: 0 / 0.7318 GB, free: 2.281 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005309/0.005752, allocations: 290.4 kB / 0.7321 GB, free: 1.973 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.005793, allocations: 8.031 kB / 0.7321 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.006003, allocations: 98.02 kB / 0.7322 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.006206, allocations: 147.3 kB / 0.7323 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.006218, allocations: 4.375 kB / 0.7323 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.006233, allocations: 4.875 kB / 0.7323 GB, free: 1.676 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.006361, allocations: 59.59 kB / 0.7324 GB, free: 1.609 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.006371, allocations: 192 / 0.7324 GB, free: 1.609 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.006382, allocations: 5.5 kB / 0.7324 GB, free: 1.605 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.006395, allocations: 4.375 kB / 0.7324 GB, free: 1.602 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.793e-05/0.006433, allocations: 15.91 kB / 0.7324 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.006747, allocations: 181 kB / 0.7326 GB, free: 1.395 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.357e-05/0.006841, allocations: 31.44 kB / 0.7326 GB, free: 1.355 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.00686, allocations: 13.42 kB / 0.7326 GB, free: 1.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.006875, allocations: 0 / 0.7326 GB, free: 1.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.006904, allocations: 43.34 kB / 0.7327 GB, free: 1.289 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.006906, allocations: 0 / 0.7327 GB, free: 1.289 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.000137/0.007043, allocations: 38.47 kB / 0.7327 GB, free: 1.246 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.007076, allocations: 55.41 kB / 0.7328 GB, free: 1.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.007166, allocations: 138.9 kB / 0.7329 GB, free: 1.035 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.007188, allocations: 25.7 kB / 0.7329 GB, free: 1.004 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/0.007232, allocations: 92.11 kB / 0.733 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.007249, allocations: 3.953 kB / 0.733 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.007287, allocations: 26.38 kB / 0.733 GB, free: 0.875 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.007392, allocations: 322.8 kB / 0.7333 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.007409, allocations: 5.375 kB / 0.7333 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.347e-05/0.007423, allocations: 3.984 kB / 0.7334 GB, free: 0.543 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.58e-05/0.007458, allocations: 12.86 kB / 0.7334 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.007461, allocations: 1.594 kB / 0.7334 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.228e-05/0.007533, allocations: 45.69 kB / 0.7334 GB, free: 488 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.007548, allocations: 7.938 kB / 0.7334 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.007555, allocations: 3.984 kB / 0.7334 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.007571, allocations: 4.812 kB / 0.7334 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/0.007639, allocations: 3.938 kB / 0.7334 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.007643, allocations: 5.234 kB / 0.7334 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.588e-05/0.007679, allocations: 15.89 kB / 0.7334 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.007687, allocations: 3.984 kB / 0.7335 GB, free: 444 kB / 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: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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.191e-05/0.007758, allocations: 111.6 kB / 0.7336 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.007784, allocations: 7.938 kB / 0.7336 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.007817, allocations: 12.34 kB / 0.7336 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.007819, allocations: 0 / 0.7336 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.007821, allocations: 1.219 kB / 0.7336 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.007825, allocations: 3.984 kB / 0.7336 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.007955, allocations: 77.88 kB / 0.7337 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.007957, allocations: 0 / 0.7337 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-05/0.007999, allocations: 1.344 kB / 0.7337 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.00801, allocations: 7.953 kB / 0.7337 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.008014, allocations: 0 / 0.7337 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.008021, allocations: 5.188 kB / 0.7337 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.008028, allocations: 7.984 kB / 0.7337 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.008029, allocations: 0 / 0.7337 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.008148, allocations: 143.8 kB / 0.7338 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.008168, allocations: 5.297 kB / 0.7338 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.008249, allocations: 11.92 kB / 0.7338 GB, free: 0 / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.008314, allocations: 8.031 kB / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.008319, allocations: 5.031 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.008354, allocations: 28.77 kB / 0.7339 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.008354, allocations: 0.5312 kB / 0.7339 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001906/0.008544, allocations: 8 kB / 0.7339 GB, free: 15.95 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001309/0.008675, allocations: 77.64 kB / 0.734 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.388e-05/0.008759, allocations: 17.56 kB / 0.734 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.008766, allocations: 4 kB / 0.734 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.2e-05/0.008798, allocations: 10.08 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.009059, allocations: 108.3 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009394/0.009999, allocations: 178.1 kB / 0.7343 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.309e-05/0.01004, allocations: 55.36 kB / 0.7343 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.183e-05/0.01008, allocations: 9.766 kB / 0.7343 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.01016, allocations: 55.38 kB / 0.7344 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/0.01016, allocations: 3.938 kB / 0.7344 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of Templates: time 0.003348/0.01351, allocations: 1.018 MB / 0.7354 GB, free: 14.4 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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: 5.081379940733314]