Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.0008832/0.0008832, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001228/0.002111, 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.0007387/0.0007387, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000999/0.001738, 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.9184/0.9184, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1027/1.021, 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.84/1.84, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5126/2.353, allocations: 123.3 MB / 0.7283 GB, free: 5.73 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.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.[0-9,]+.|extBooSig.y.[0-9,]+.|extBooSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.[0-9,]+.|extBooSig.y.[0-9,]+.|extBooSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.7296 GB, free: 4.426 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.883e-05, allocations: 3.188 kB / 0.7296 GB, free: 4.422 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001792/0.001811, allocations: 0.7694 MB / 0.7304 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.003347, allocations: 1.296 MB / 0.7317 GB, free: 2.379 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.003457, allocations: 7.938 kB / 0.7317 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.003571, allocations: 13.12 kB / 0.7317 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.953e-05/0.003641, allocations: 20.89 kB / 0.7317 GB, free: 2.344 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008111/0.004452, allocations: 229.8 kB / 0.7319 GB, free: 2.121 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.004746, allocations: 249 kB / 0.7322 GB, free: 1.895 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.004854, allocations: 24.97 kB / 0.7322 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.005035, allocations: 160.1 kB / 0.7323 GB, free: 1.719 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.005179, allocations: 67.83 kB / 0.7324 GB, free: 1.652 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.005209, allocations: 16 kB / 0.7324 GB, free: 1.637 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.005311, allocations: 31.98 kB / 0.7324 GB, free: 1.605 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.005372, allocations: 36.36 kB / 0.7325 GB, free: 1.57 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.661e-05/0.005429, allocations: 41.06 kB / 0.7325 GB, free: 1.531 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.005631, allocations: 143.6 kB / 0.7327 GB, free: 1.391 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/0.00564, allocations: 0 / 0.7327 GB, free: 1.391 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.433e-06/0.005641, allocations: 0.9688 kB / 0.7327 GB, free: 1.391 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.005653, allocations: 0 / 0.7327 GB, free: 1.391 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004989/0.006152, allocations: 433 kB / 0.7331 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.006186, allocations: 12.03 kB / 0.7331 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002697/0.006455, allocations: 121.9 kB / 0.7332 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.006645, allocations: 166.1 kB / 0.7334 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.006664, allocations: 13.19 kB / 0.7334 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.006687, allocations: 12.38 kB / 0.7334 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.006804, allocations: 107.6 kB / 0.7335 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.006811, allocations: 0.6875 kB / 0.7335 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.006821, allocations: 6.031 kB / 0.7335 GB, free: 456 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.006828, allocations: 4.375 kB / 0.7335 GB, free: 452 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.032e-05/0.006858, allocations: 31.86 kB / 0.7335 GB, free: 420 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.007228, allocations: 488.5 kB / 0.734 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.404e-05/0.007282, allocations: 38.03 kB / 0.734 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.398e-05/0.007296, allocations: 18.8 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-06/0.007301, allocations: 4.062 kB / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.007422, allocations: 90.72 kB / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.007423, allocations: 0 / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001324/0.007555, allocations: 77.92 kB / 0.7342 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.007593, allocations: 77.11 kB / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.007704, allocations: 175.8 kB / 0.7344 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.007737, allocations: 33.7 kB / 0.7345 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.435e-05/0.007811, allocations: 116 kB / 0.7346 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.007825, allocations: 8.594 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.347e-05/0.007908, allocations: 53.66 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.008006, allocations: 327.9 kB / 0.735 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.212e-05/0.008098, allocations: 91.38 kB / 0.735 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.008242, allocations: 219.3 kB / 0.7353 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.008386, allocations: 180.8 kB / 0.7354 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.008389, allocations: 0 / 0.7354 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002731/0.008662, allocations: 278.7 kB / 0.7357 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.63e-05/0.008718, allocations: 67.39 kB / 0.7358 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.008723, allocations: 0 / 0.7358 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.008739, allocations: 4.906 kB / 0.7358 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.041e-05/0.008759, allocations: 7.938 kB / 0.7358 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.008766, allocations: 7.969 kB / 0.7358 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.008961, allocations: 49.98 kB / 0.7358 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.008984, allocations: 15.98 kB / 0.7358 GB, free: 13.77 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con1.y,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.729e-05/0.009082, allocations: 123 kB / 0.736 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.009102, allocations: 15.92 kB / 0.736 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.00914, allocations: 12.34 kB / 0.736 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.009142, allocations: 1.188 kB / 0.736 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.009148, allocations: 0 / 0.736 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.009153, allocations: 3.938 kB / 0.736 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.009255, allocations: 91.09 kB / 0.7361 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.009257, allocations: 0 / 0.7361 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-06/0.009265, allocations: 4 kB / 0.7361 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.009278, allocations: 15.91 kB / 0.7361 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.00928, allocations: 1.031 kB / 0.7361 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.009285, allocations: 0 / 0.7361 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.009289, allocations: 3.984 kB / 0.7361 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.00929, allocations: 4.531 kB / 0.7361 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.711e-05/0.009387, allocations: 95.41 kB / 0.7362 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.009398, allocations: 0 / 0.7362 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.906e-05/0.009417, allocations: 0 / 0.7362 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.009442, allocations: 7.984 kB / 0.7362 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.009447, allocations: 5.219 kB / 0.7362 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.009481, allocations: 32.83 kB / 0.7362 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.009481, allocations: 0 / 0.7362 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002103/0.009692, allocations: 39.92 kB / 0.7363 GB, free: 13.27 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: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001306/0.009822, allocations: 85.61 kB / 0.7364 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.01006, allocations: 272.3 kB / 0.7366 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.01007, allocations: 5.906 kB / 0.7366 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.13e-05/0.0101, allocations: 24.8 kB / 0.7367 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.0103, allocations: 153.5 kB / 0.7368 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.01086, allocations: 240.8 kB / 0.737 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.967e-05/0.0109, allocations: 71.27 kB / 0.7371 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.951e-05/0.01094, allocations: 11.33 kB / 0.7371 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.01108, allocations: 83.34 kB / 0.7372 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of SimCode: time 7.91e-07/0.01108, allocations: 0 / 0.7372 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of Templates: time 0.004999/0.01608, allocations: 2.247 MB / 0.7394 GB, free: 10.1 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.89000457432121]