Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.001106/0.001106, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001567/0.002673, 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.001073/0.001073, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001384/0.002457, 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 0.9579/0.9579, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09389/1.052, 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.887/1.887, allocations: 378.4 MB / 0.6079 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5107/2.398, allocations: 123.3 MB / 0.7283 GB, free: 5.703 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.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.528e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.379 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001225/0.00124, allocations: 0.7837 MB / 0.7304 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.002375, allocations: 1.306 MB / 0.7317 GB, free: 2.312 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.002426, allocations: 5 kB / 0.7317 GB, free: 2.309 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.002453, allocations: 3.938 kB / 0.7317 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.887e-05/0.002511, allocations: 27.72 kB / 0.7317 GB, free: 2.285 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.00293, allocations: 241.2 kB / 0.732 GB, free: 2.051 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.003164, allocations: 253 kB / 0.7322 GB, free: 1.828 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.091e-05/0.003245, allocations: 20.22 kB / 0.7322 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.003397, allocations: 151.8 kB / 0.7324 GB, free: 1.656 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.003536, allocations: 71.8 kB / 0.7324 GB, free: 1.586 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.003567, allocations: 20 kB / 0.7325 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.698e-05/0.003644, allocations: 28 kB / 0.7325 GB, free: 1.539 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.003673, allocations: 24.42 kB / 0.7325 GB, free: 1.516 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.901e-05/0.003732, allocations: 47.94 kB / 0.7325 GB, free: 1.469 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.003903, allocations: 144.2 kB / 0.7327 GB, free: 1.328 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.162e-05/0.003915, allocations: 0.9062 kB / 0.7327 GB, free: 1.328 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003916, allocations: 0 / 0.7327 GB, free: 1.328 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.00393, allocations: 0 / 0.7327 GB, free: 1.328 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.0005614/0.004491, allocations: 425.8 kB / 0.7331 GB, free: 0.875 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.004522, allocations: 11.97 kB / 0.7331 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.004573, allocations: 24.91 kB / 0.7331 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.004727, allocations: 145.6 kB / 0.7333 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.004745, allocations: 8.906 kB / 0.7333 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.004774, allocations: 25.86 kB / 0.7333 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.004907, allocations: 124.5 kB / 0.7334 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.004914, allocations: 192 / 0.7334 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.004926, allocations: 8.359 kB / 0.7334 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.004932, allocations: 9.344 kB / 0.7334 GB, free: 500 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.606e-05/0.004978, allocations: 35.91 kB / 0.7335 GB, free: 464 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.005337, allocations: 330.4 kB / 0.7338 GB, free: 116 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.005479, allocations: 105.2 kB / 0.7339 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.341e-05/0.005512, allocations: 34.38 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.00552, allocations: 4 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.005704, allocations: 192.6 kB / 0.7341 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 8.72e-07/0.005704, allocations: 0 / 0.7341 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0002146/0.005919, allocations: 192.8 kB / 0.7343 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.005962, allocations: 90.36 kB / 0.7344 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.359e-05/0.006025, allocations: 130.6 kB / 0.7345 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.006053, allocations: 37.7 kB / 0.7345 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.006095, allocations: 100.6 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.006131, allocations: 56.22 kB / 0.7347 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.0062, allocations: 65.66 kB / 0.7347 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003585/0.006558, allocations: 331.9 kB / 0.7351 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.584e-05/0.006644, allocations: 111.7 kB / 0.7352 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.006746, allocations: 175.6 kB / 0.7353 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.006894, allocations: 225.7 kB / 0.7356 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.006898, allocations: 3.938 kB / 0.7356 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002451/0.007143, allocations: 330.2 kB / 0.7359 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/0.007188, allocations: 69.27 kB / 0.7359 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.007195, allocations: 4 kB / 0.7359 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.007209, allocations: 4 kB / 0.7359 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.007276, allocations: 31.92 kB / 0.736 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.007281, allocations: 4 kB / 0.736 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.00744, allocations: 53.19 kB / 0.736 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.00746, allocations: 13.25 kB / 0.736 GB, free: 13.57 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 9.02e-05/0.00755, allocations: 143.7 kB / 0.7362 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.007573, allocations: 25.22 kB / 0.7362 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.007603, allocations: 12.44 kB / 0.7362 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.007606, allocations: 7.984 kB / 0.7362 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.007609, allocations: 0.9375 kB / 0.7362 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-06/0.007615, allocations: 7.984 kB / 0.7362 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.007863, allocations: 392.5 kB / 0.7366 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.007865, allocations: 5.125 kB / 0.7366 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.007893, allocations: 12 kB / 0.7366 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.007904, allocations: 15.89 kB / 0.7366 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.007907, allocations: 4.797 kB / 0.7366 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.007916, allocations: 4 kB / 0.7366 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.007919, allocations: 7.188 kB / 0.7367 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.00792, allocations: 0 / 0.7367 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.008085, allocations: 315.8 kB / 0.737 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.008108, allocations: 15.92 kB / 0.737 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.00818, allocations: 11.98 kB / 0.737 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.008229, allocations: 23.95 kB / 0.737 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.00824, allocations: 11.98 kB / 0.737 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.121e-05/0.008261, allocations: 20.84 kB / 0.737 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.008261, allocations: 3.031 kB / 0.737 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002051/0.008466, allocations: 55.98 kB / 0.7371 GB, free: 12.46 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001195/0.008586, allocations: 100.3 kB / 0.7372 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002643/0.00885, allocations: 339.4 kB / 0.7375 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/0.008855, allocations: 4 kB / 0.7375 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.729e-05/0.008932, allocations: 88.62 kB / 0.7376 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.009173, allocations: 157.2 kB / 0.7378 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/0.009675, allocations: 266.6 kB / 0.738 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.988e-05/0.009715, allocations: 68 kB / 0.7381 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.585e-05/0.009761, allocations: 15.92 kB / 0.7381 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.009878, allocations: 91.34 kB / 0.7382 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/0.009878, allocations: 2.938 kB / 0.7382 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of Templates: time 0.004386/0.01426, allocations: 3.088 MB / 0.7412 GB, free: 8.32 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.913029257208109]