Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001505/0.001505, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001548/0.001548, allocations: 214.8 kB / 23.01 MB, free: 4.566 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.41/3.41, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.003415/0.003415, allocations: 73.06 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3514, allocations: 180.2 MB / 1.354 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002334/0.3537, allocations: 1.042 MB / 1.355 GB, free: 6.918 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002009/0.3557, allocations: 1.498 MB / 1.357 GB, free: 5.406 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.421e-05/0.3558, allocations: 4 kB / 1.357 GB, free: 5.402 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.3559, allocations: 23.67 kB / 1.357 GB, free: 5.379 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.356, allocations: 55.56 kB / 1.357 GB, free: 5.324 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.3571, allocations: 473.9 kB / 1.357 GB, free: 4.875 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005607/0.3577, allocations: 0.4998 MB / 1.358 GB, free: 4.375 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.3579, allocations: 92.16 kB / 1.358 GB, free: 4.285 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.3581, allocations: 203.6 kB / 1.358 GB, free: 4.086 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.3584, allocations: 199.3 kB / 1.358 GB, free: 3.891 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.178e-05/0.3585, allocations: 52 kB / 1.358 GB, free: 3.84 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.3586, allocations: 59.98 kB / 1.358 GB, free: 3.781 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.976e-05/0.3587, allocations: 71.77 kB / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.3589, allocations: 191.2 kB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000565/0.3595, allocations: 0.5217 MB / 1.359 GB, free: 3 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3595, allocations: 0 / 1.359 GB, free: 3 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3595, allocations: 0 / 1.359 GB, free: 3 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.3595, allocations: 0 / 1.359 GB, free: 3 MB / 1.045 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.0009277/0.3604, allocations: 0.6212 MB / 1.36 GB, free: 2.316 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3605, allocations: 12.03 kB / 1.36 GB, free: 2.305 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.3606, allocations: 40.75 kB / 1.36 GB, free: 2.266 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009311/0.3615, allocations: 298.4 kB / 1.36 GB, free: 1.949 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.3616, allocations: 28.69 kB / 1.36 GB, free: 1.922 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.681e-05/0.3616, allocations: 36.36 kB / 1.36 GB, free: 1.887 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.362, allocations: 236.8 kB / 1.36 GB, free: 1.648 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.362, allocations: 7.938 kB / 1.36 GB, free: 1.641 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.362, allocations: 4 kB / 1.36 GB, free: 1.637 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3621, allocations: 8 kB / 1.36 GB, free: 1.629 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.3623, allocations: 147.2 kB / 1.36 GB, free: 1.488 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.3636, allocations: 0.7255 MB / 1.361 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.3638, allocations: 180 kB / 1.361 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.3641, allocations: 196.8 kB / 1.361 GB, free: 344 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.3641, allocations: 4 kB / 1.361 GB, free: 340 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003448/0.3645, allocations: 249.3 kB / 1.362 GB, free: 68 kB / 1.045 GB Notification: Performance of pre-optimization done (n=28): time 1.433e-06/0.3645, allocations: 0 / 1.362 GB, free: 68 kB / 1.045 GB Notification: Performance of matching and sorting (n=28): time 0.0007406/0.3652, allocations: 427.1 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.3653, allocations: 114.8 kB / 1.362 GB, free: 15.51 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.3656, allocations: 277.7 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.719e-05/0.3657, allocations: 37.7 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.3658, allocations: 160.8 kB / 1.363 GB, free: 15.02 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/0.3659, allocations: 67.52 kB / 1.363 GB, free: 14.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.3661, allocations: 141.6 kB / 1.363 GB, free: 14.81 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3662, allocations: 346.8 kB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.3666, allocations: 204.7 kB / 1.363 GB, free: 14.26 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/0.367, allocations: 315.9 kB / 1.364 GB, free: 13.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006578/0.3677, allocations: 0.5271 MB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3677, allocations: 0 / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001099/0.3688, allocations: 0.7326 MB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.3689, allocations: 126.8 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.3689, allocations: 0 / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.3689, allocations: 8 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.213e-05/0.369, allocations: 28.27 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.369, allocations: 11.98 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006048/0.3696, allocations: 123.6 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.3697, allocations: 71.92 kB / 1.365 GB, free: 12.16 MB / 1.061 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.0002177/0.37, allocations: 189.6 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.37, allocations: 27.81 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005432/0.3705, allocations: 356.4 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.3706, allocations: 7.984 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3706, allocations: 0 / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3706, allocations: 0 / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008797/0.3714, allocations: 0.6817 MB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3714, allocations: 0 / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.505e-05/0.3715, allocations: 16 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3715, allocations: 8 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.3715, allocations: 7.984 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.3715, allocations: 7.938 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3715, allocations: 3.984 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004739/0.372, allocations: 428.8 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.3721, allocations: 27.75 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.3721, allocations: 11.98 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.3722, allocations: 11.94 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.3723, allocations: 27.95 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.3723, allocations: 12 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001888/0.3725, allocations: 187.1 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3725, allocations: 0 / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000381/0.3729, allocations: 87.98 kB / 1.367 GB, free: 10.01 MB / 1.061 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.0001937/0.3731, allocations: 125.1 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008251/0.3739, allocations: 0.5988 MB / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3739, allocations: 3.938 kB / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.3741, allocations: 119.9 kB / 1.368 GB, free: 9.109 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.3745, allocations: 70.77 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008806/0.3754, allocations: 0.5467 MB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.3758, allocations: 0.7687 MB / 1.369 GB, free: 7.664 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.618e-05/0.3759, allocations: 39.42 kB / 1.369 GB, free: 7.625 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3759, allocations: 0 / 1.369 GB, free: 7.625 MB / 1.061 GB Notification: Performance of Templates: time 0.00751/0.3834, allocations: 4.418 MB / 1.374 GB, free: 3.23 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.897692311991705]