Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.001365/0.001365, allocations: 105.8 kB / 19.69 MB, free: 2.258 MB / 14.72 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.001457/0.001457, allocations: 216.2 kB / 23.01 MB, free: 5.113 MB / 14.72 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.093/3.093, allocations: 0.49 GB / 0.7958 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 65.28 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3707, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002618/0.3733, allocations: 1.055 MB / 1.328 GB, free: 436 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002017/0.3754, allocations: 1.498 MB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.127e-05/0.3755, allocations: 7.938 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.3756, allocations: 27.67 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.478e-05/0.3757, allocations: 47.64 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.3768, allocations: 472.1 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005787/0.3773, allocations: 0.5036 MB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.3776, allocations: 96.16 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.3778, allocations: 207.5 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.3781, allocations: 191.4 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.089e-05/0.3782, allocations: 52 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.3783, allocations: 60 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.687e-05/0.3784, allocations: 63.81 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.3786, allocations: 195.2 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005792/0.3792, allocations: 0.5139 MB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3792, allocations: 3.938 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3792, allocations: 0 / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.3792, allocations: 0 / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009498/0.3802, allocations: 0.6251 MB / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3802, allocations: 12.03 kB / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.3803, allocations: 44.73 kB / 1.333 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009432/0.3812, allocations: 295.2 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.3813, allocations: 20.75 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/0.3813, allocations: 40.36 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.3817, allocations: 232.9 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3817, allocations: 7.875 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.3818, allocations: 8 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.3818, allocations: 4 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.382, allocations: 143.2 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.3834, allocations: 0.7333 MB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.3837, allocations: 178.4 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.3839, allocations: 194.8 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.3839, allocations: 4 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003555/0.3843, allocations: 256.8 kB / 1.335 GB, free: 9.566 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.3843, allocations: 0 / 1.335 GB, free: 9.566 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.0007219/0.385, allocations: 415.2 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.969e-05/0.3851, allocations: 110.8 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.3854, allocations: 281.7 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/0.3855, allocations: 41.7 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.3856, allocations: 160.8 kB / 1.336 GB, free: 8.531 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.939e-05/0.3857, allocations: 67.52 kB / 1.336 GB, free: 8.465 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.3859, allocations: 145.6 kB / 1.336 GB, free: 8.316 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.386, allocations: 338.8 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/0.3864, allocations: 200.7 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.3868, allocations: 323.9 kB / 1.337 GB, free: 7.414 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006672/0.3875, allocations: 0.5271 MB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3875, allocations: 0 / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001107/0.3886, allocations: 0.7254 MB / 1.338 GB, free: 6.062 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.3887, allocations: 131.2 kB / 1.338 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.3887, allocations: 8 kB / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3888, allocations: 4 kB / 1.338 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.599e-05/0.3888, allocations: 19.92 kB / 1.338 GB, free: 5.879 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.3889, allocations: 4 kB / 1.338 GB, free: 5.875 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000611/0.3895, allocations: 135.6 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.3896, allocations: 75.84 kB / 1.338 GB, free: 5.668 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0002137/0.3898, allocations: 189.6 kB / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.3898, allocations: 31.8 kB / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005392/0.3904, allocations: 356.6 kB / 1.339 GB, free: 5.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.3904, allocations: 4 kB / 1.339 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3904, allocations: 0 / 1.339 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3904, allocations: 0 / 1.339 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008986/0.3913, allocations: 0.6891 MB / 1.339 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3913, allocations: 0 / 1.339 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.579e-05/0.3914, allocations: 19.92 kB / 1.339 GB, free: 4.328 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3914, allocations: 0 / 1.339 GB, free: 4.328 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.3914, allocations: 8 kB / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3914, allocations: 3.938 kB / 1.339 GB, free: 4.316 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3914, allocations: 0 / 1.339 GB, free: 4.316 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/0.3919, allocations: 420.7 kB / 1.34 GB, free: 3.891 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.3919, allocations: 31.73 kB / 1.34 GB, free: 3.859 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.3919, allocations: 23.83 kB / 1.34 GB, free: 3.836 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.3921, allocations: 15.92 kB / 1.34 GB, free: 3.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.3921, allocations: 19.97 kB / 1.34 GB, free: 3.801 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.3921, allocations: 15.98 kB / 1.34 GB, free: 3.785 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001824/0.3923, allocations: 187.1 kB / 1.34 GB, free: 3.598 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3923, allocations: 3.938 kB / 1.34 GB, free: 3.594 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003845/0.3927, allocations: 84 kB / 1.34 GB, free: 3.512 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000189/0.3929, allocations: 129.1 kB / 1.34 GB, free: 3.375 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008325/0.3937, allocations: 0.5911 MB / 1.341 GB, free: 2.734 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3937, allocations: 0 / 1.341 GB, free: 2.734 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.3939, allocations: 131.8 kB / 1.341 GB, free: 2.605 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.3944, allocations: 61.42 kB / 1.341 GB, free: 2.547 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008677/0.3952, allocations: 0.5454 MB / 1.342 GB, free: 1.969 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.3956, allocations: 0.7609 MB / 1.342 GB, free: 1.176 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.881e-05/0.3957, allocations: 39.42 kB / 1.342 GB, free: 1.137 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.3957, allocations: 3.938 kB / 1.342 GB, free: 1.133 MB / 1.029 GB Notification: Performance of Templates: time 0.007366/0.4031, allocations: 4.434 MB / 1.347 GB, free: 12.73 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.444143778004218]