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.001605/0.001605, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001805/0.001805, allocations: 207.9 kB / 23 MB, free: 4.965 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.258/3.258, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 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.00217/0.00217, allocations: 68.23 kB / 1.187 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3585, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002483/0.361, allocations: 0.9901 MB / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002296/0.3633, allocations: 1.476 MB / 1.367 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.3634, allocations: 7.938 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.3635, allocations: 27.67 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.3636, allocations: 47.62 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.365, allocations: 465 kB / 1.368 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007122/0.3657, allocations: 0.5076 MB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002794/0.366, allocations: 80.17 kB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.3662, allocations: 219.5 kB / 1.368 GB, free: 9.797 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.3665, allocations: 163.3 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.007e-05/0.3666, allocations: 48 kB / 1.369 GB, free: 9.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.3668, allocations: 67.97 kB / 1.369 GB, free: 9.523 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.357e-05/0.3669, allocations: 59.84 kB / 1.369 GB, free: 9.465 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.3671, allocations: 175.3 kB / 1.369 GB, free: 9.293 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006512/0.3677, allocations: 0.5256 MB / 1.369 GB, free: 8.766 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3677, allocations: 0 / 1.369 GB, free: 8.766 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3677, allocations: 0 / 1.369 GB, free: 8.766 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.3677, allocations: 0 / 1.369 GB, free: 8.766 MB / 1.061 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.0009386/0.3687, allocations: 0.6212 MB / 1.37 GB, free: 8.082 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3687, allocations: 12.03 kB / 1.37 GB, free: 8.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.3688, allocations: 40.75 kB / 1.37 GB, free: 8.031 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009343/0.3698, allocations: 294.4 kB / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.3698, allocations: 28.73 kB / 1.37 GB, free: 7.691 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.706e-05/0.3699, allocations: 28.38 kB / 1.37 GB, free: 7.664 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005111/0.3704, allocations: 365.6 kB / 1.371 GB, free: 7.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3704, allocations: 3.938 kB / 1.371 GB, free: 7.266 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.3704, allocations: 15.98 kB / 1.371 GB, free: 7.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.3704, allocations: 8 kB / 1.371 GB, free: 7.242 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/0.3707, allocations: 139.3 kB / 1.371 GB, free: 7.109 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.372, allocations: 0.6208 MB / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.3722, allocations: 178.4 kB / 1.372 GB, free: 6.27 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/0.3725, allocations: 188.8 kB / 1.372 GB, free: 6.082 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.3725, allocations: 4 kB / 1.372 GB, free: 6.078 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004274/0.373, allocations: 355 kB / 1.372 GB, free: 5.684 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 1.684e-06/0.373, allocations: 0 / 1.372 GB, free: 5.684 MB / 1.061 GB Notification: Performance of matching and sorting (n=28): time 0.0007217/0.3737, allocations: 419.2 kB / 1.373 GB, free: 5.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.954e-05/0.3738, allocations: 110.8 kB / 1.373 GB, free: 5.137 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.3741, allocations: 281.6 kB / 1.373 GB, free: 4.855 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.537e-05/0.3741, allocations: 41.64 kB / 1.373 GB, free: 4.809 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.3743, allocations: 164.7 kB / 1.373 GB, free: 4.645 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.719e-05/0.3744, allocations: 67.52 kB / 1.373 GB, free: 4.578 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.3746, allocations: 145.6 kB / 1.373 GB, free: 4.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.3747, allocations: 342.8 kB / 1.374 GB, free: 4.086 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004499/0.3752, allocations: 323.5 kB / 1.374 GB, free: 3.742 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/0.3758, allocations: 494.2 kB / 1.374 GB, free: 3.176 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007032/0.3765, allocations: 0.5272 MB / 1.375 GB, free: 2.578 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.3765, allocations: 4 kB / 1.375 GB, free: 2.574 MB / 1.061 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001253/0.3778, allocations: 0.8488 MB / 1.376 GB, free: 1.672 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.3779, allocations: 126.8 kB / 1.376 GB, free: 1.523 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.3779, allocations: 4 kB / 1.376 GB, free: 1.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.3779, allocations: 8 kB / 1.376 GB, free: 1.512 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.215e-05/0.378, allocations: 23.92 kB / 1.376 GB, free: 1.488 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.378, allocations: 7.938 kB / 1.376 GB, free: 1.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006682/0.3787, allocations: 127.9 kB / 1.376 GB, free: 1.355 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.3788, allocations: 63.92 kB / 1.376 GB, free: 1.293 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.0002476/0.379, allocations: 197.6 kB / 1.376 GB, free: 1.094 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.3791, allocations: 35.69 kB / 1.376 GB, free: 1.059 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005712/0.3796, allocations: 348.5 kB / 1.377 GB, free: 0.7148 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.3797, allocations: 4 kB / 1.377 GB, free: 0.7109 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3797, allocations: 0 / 1.377 GB, free: 0.7109 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3797, allocations: 0 / 1.377 GB, free: 0.7109 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009056/0.3806, allocations: 0.6355 MB / 1.377 GB, free: 40 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3806, allocations: 0 / 1.377 GB, free: 40 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.335e-05/0.3806, allocations: 19.92 kB / 1.377 GB, free: 20 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.3807, allocations: 3.984 kB / 1.377 GB, free: 16 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.3807, allocations: 8 kB / 1.377 GB, free: 8 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3807, allocations: 0 / 1.377 GB, free: 8 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3807, allocations: 0 / 1.377 GB, free: 8 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005436/0.3812, allocations: 428.9 kB / 1.378 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.3813, allocations: 35.67 kB / 1.378 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.426e-05/0.3813, allocations: 8 kB / 1.378 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.3814, allocations: 15.98 kB / 1.378 GB, free: 15.51 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.3815, allocations: 23.91 kB / 1.378 GB, free: 15.49 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.3815, allocations: 15.98 kB / 1.378 GB, free: 15.47 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001759/0.3817, allocations: 173.2 kB / 1.378 GB, free: 15.3 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3817, allocations: 0 / 1.378 GB, free: 15.3 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004389/0.3821, allocations: 99.88 kB / 1.378 GB, free: 15.21 MB / 1.076 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.0001877/0.3823, allocations: 121.2 kB / 1.378 GB, free: 15.08 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000994/0.3833, allocations: 0.7227 MB / 1.379 GB, free: 14.28 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3833, allocations: 0 / 1.379 GB, free: 14.28 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.3835, allocations: 127.9 kB / 1.379 GB, free: 14.16 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.384, allocations: 62.83 kB / 1.379 GB, free: 14.1 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008928/0.3849, allocations: 0.5389 MB / 1.38 GB, free: 13.53 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.385, allocations: 168 kB / 1.38 GB, free: 13.34 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.3851, allocations: 39.36 kB / 1.38 GB, free: 13.3 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/0.3851, allocations: 0 / 1.38 GB, free: 13.3 MB / 1.076 GB Notification: Performance of Templates: time 0.007615/0.3927, allocations: 4.438 MB / 1.384 GB, free: 8.887 MB / 1.076 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.802751841954887]