Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.0008223/0.0008223, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001203/0.002025, 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.0007222/0.0007222, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009684/0.001691, 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.038/1.038, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1089/1.147, 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.974/1.974, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.6062/2.58, allocations: 123.3 MB / 0.7283 GB, free: 5.738 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.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.7297 GB, free: 4.352 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.629e-05, allocations: 4.422 kB / 0.7297 GB, free: 4.348 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001541/0.001567, allocations: 0.9016 MB / 0.7306 GB, free: 3.477 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008202/0.002387, allocations: 0.9469 MB / 0.7315 GB, free: 2.52 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.575e-05/0.002463, allocations: 0 / 0.7315 GB, free: 2.52 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.155e-05/0.002545, allocations: 26.53 kB / 0.7316 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.953e-05/0.002584, allocations: 9.219 kB / 0.7316 GB, free: 2.492 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.002702, allocations: 49.78 kB / 0.7316 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.00283, allocations: 96.16 kB / 0.7317 GB, free: 2.367 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.002956, allocations: 48.59 kB / 0.7317 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.003143, allocations: 67.77 kB / 0.7318 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/0.003213, allocations: 30.17 kB / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.003234, allocations: 8 kB / 0.7318 GB, free: 2.219 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.195e-05/0.003296, allocations: 16 kB / 0.7319 GB, free: 2.203 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.003316, allocations: 11.94 kB / 0.7319 GB, free: 2.191 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.003341, allocations: 19.94 kB / 0.7319 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.003473, allocations: 59.77 kB / 0.732 GB, free: 2.113 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.254e-05/0.003486, allocations: 0.5 kB / 0.732 GB, free: 2.113 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.433e-06/0.003487, allocations: 0 / 0.732 GB, free: 2.113 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.003499, allocations: 1.344 kB / 0.732 GB, free: 2.113 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004431/0.003942, allocations: 312.2 kB / 0.7323 GB, free: 1.781 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.003978, allocations: 12.78 kB / 0.7323 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.00414, allocations: 98.02 kB / 0.7324 GB, free: 1.656 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.004303, allocations: 144 kB / 0.7325 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.004312, allocations: 4.375 kB / 0.7325 GB, free: 1.488 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.004327, allocations: 8.312 kB / 0.7325 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.004446, allocations: 82.91 kB / 0.7326 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.004454, allocations: 8.922 kB / 0.7326 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.004462, allocations: 384 / 0.7326 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.004467, allocations: 1.781 kB / 0.7326 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.007e-05/0.004497, allocations: 17.19 kB / 0.7326 GB, free: 1.367 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002743/0.004771, allocations: 200.2 kB / 0.7328 GB, free: 1.156 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.437e-05/0.004856, allocations: 43.36 kB / 0.7328 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.004876, allocations: 9.391 kB / 0.7329 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.004891, allocations: 4 kB / 0.7329 GB, free: 1.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.004912, allocations: 39.28 kB / 0.7329 GB, free: 1.043 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.004913, allocations: 0 / 0.7329 GB, free: 1.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001223/0.005035, allocations: 51.53 kB / 0.7329 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.005064, allocations: 55.39 kB / 0.733 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.998e-05/0.005134, allocations: 133.9 kB / 0.7331 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.005152, allocations: 25.7 kB / 0.7331 GB, free: 0.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.005198, allocations: 108.5 kB / 0.7333 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.005214, allocations: 7.938 kB / 0.7333 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.005242, allocations: 22.8 kB / 0.7333 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.2e-05/0.005324, allocations: 322.8 kB / 0.7336 GB, free: 288 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.005338, allocations: 4.531 kB / 0.7336 GB, free: 284 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.22e-05/0.00535, allocations: 4 kB / 0.7336 GB, free: 280 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.488e-05/0.005385, allocations: 21.91 kB / 0.7336 GB, free: 256 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005387, allocations: 0 / 0.7336 GB, free: 256 kB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.666e-05/0.005444, allocations: 45.62 kB / 0.7337 GB, free: 204 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.005458, allocations: 8.719 kB / 0.7337 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.005463, allocations: 0 / 0.7337 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.005473, allocations: 0.5312 kB / 0.7337 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.446e-05/0.005548, allocations: 12.92 kB / 0.7337 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.005552, allocations: 3.984 kB / 0.7337 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.005583, allocations: 16.53 kB / 0.7337 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.00559, allocations: 4 kB / 0.7337 GB, free: 160 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 (5): * Single equations (assignments): 5 * 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 5.826e-05/0.005648, allocations: 110.7 kB / 0.7338 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.005664, allocations: 9.344 kB / 0.7338 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.005694, allocations: 16.33 kB / 0.7338 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.005696, allocations: 0 / 0.7338 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.005697, allocations: 0 / 0.7338 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.0057, allocations: 0.6562 kB / 0.7338 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.00582, allocations: 85.75 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.005823, allocations: 0.8438 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.005862, allocations: 15.98 kB / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.136e-05/0.005873, allocations: 9.422 kB / 0.7339 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.005875, allocations: 4 kB / 0.7339 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.005882, allocations: 4 kB / 0.734 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.005882, allocations: 0.5625 kB / 0.734 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005883, allocations: 0 / 0.734 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.74e-05/0.005981, allocations: 152.6 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.005996, allocations: 3.938 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.135e-05/0.006037, allocations: 5.125 kB / 0.7341 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.006082, allocations: 16.2 kB / 0.7341 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.006086, allocations: 0 / 0.7341 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.29e-05/0.006109, allocations: 26.09 kB / 0.7341 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.006109, allocations: 0 / 0.7341 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001194/0.006228, allocations: 12 kB / 0.7342 GB, free: 15.65 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 (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 9.738e-05/0.006326, allocations: 85.42 kB / 0.7342 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.739e-05/0.006393, allocations: 20.86 kB / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.006401, allocations: 8.516 kB / 0.7343 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-05/0.006428, allocations: 18.56 kB / 0.7343 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.006627, allocations: 126.7 kB / 0.7344 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006952/0.007322, allocations: 198.6 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.654e-05/0.007358, allocations: 63.34 kB / 0.7347 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.007395, allocations: 5.375 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/0.007462, allocations: 63.34 kB / 0.7347 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of SimCode: time 8.71e-07/0.007463, allocations: 0.75 kB / 0.7347 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of Templates: time 0.002889/0.01035, allocations: 1.145 MB / 0.7358 GB, free: 13.91 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.114955490455031]