Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002369/0.002369, allocations: 194 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.816/2.816, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 59.91 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9896/0.9916, allocations: 168.7 MB / 1.274 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002612/0.9942, allocations: 1.036 MB / 1.275 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.9964, allocations: 1.476 MB / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.9965, allocations: 4 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.9967, allocations: 27.61 kB / 1.277 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.9968, allocations: 47.64 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.998, allocations: 472.3 kB / 1.277 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006258/0.9986, allocations: 0.5114 MB / 1.278 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.9989, allocations: 103.3 kB / 1.278 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.9991, allocations: 203.5 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.9994, allocations: 187.4 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.003e-05/0.9995, allocations: 48 kB / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.9996, allocations: 63.97 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.45e-05/0.9997, allocations: 67.77 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002266/1, allocations: 191.2 kB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006305/1.001, allocations: 0.5169 MB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.001, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/1.001, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.257e-05/1.001, allocations: 4 kB / 1.279 GB, free: 15.5 MB / 0.9825 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.001051/1.002, allocations: 0.6964 MB / 1.28 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/1.002, allocations: 12.03 kB / 1.28 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/1.002, allocations: 44.73 kB / 1.28 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009801/1.003, allocations: 360.3 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/1.003, allocations: 20.75 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.961e-05/1.003, allocations: 36.38 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/1.003, allocations: 237 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/1.003, allocations: 3.938 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/1.003, allocations: 8 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/1.003, allocations: 4 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/1.004, allocations: 147 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/1.005, allocations: 0.7693 MB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/1.005, allocations: 170.5 kB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/1.005, allocations: 200.7 kB / 1.281 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/1.005, allocations: 0 / 1.281 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003523/1.006, allocations: 248.2 kB / 1.282 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 1.282e-06/1.006, allocations: 0 / 1.282 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.0007221/1.007, allocations: 419.2 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.562e-05/1.007, allocations: 114.8 kB / 1.282 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/1.007, allocations: 286.5 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/1.007, allocations: 37.7 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/1.007, allocations: 168.8 kB / 1.283 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.189e-05/1.007, allocations: 71.47 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/1.007, allocations: 133.6 kB / 1.283 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.008, allocations: 342.8 kB / 1.283 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/1.008, allocations: 200.7 kB / 1.283 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005337/1.009, allocations: 320 kB / 1.284 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007802/1.009, allocations: 0.5233 MB / 1.284 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.974e-06/1.009, allocations: 4 kB / 1.284 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001163/1.01, allocations: 0.721 MB / 1.285 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/1.011, allocations: 123.2 kB / 1.285 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/1.011, allocations: 15.92 kB / 1.285 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/1.011, allocations: 4 kB / 1.285 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/1.011, allocations: 27.92 kB / 1.285 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/1.011, allocations: 7.938 kB / 1.285 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000673/1.011, allocations: 127.6 kB / 1.285 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/1.012, allocations: 63.92 kB / 1.285 GB, free: 8.465 MB / 0.9825 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.000239/1.012, allocations: 194.2 kB / 1.285 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/1.012, allocations: 31.75 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005622/1.012, allocations: 360.5 kB / 1.286 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/1.012, allocations: 4 kB / 1.286 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.012, allocations: 0 / 1.286 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/1.012, allocations: 0 / 1.286 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009987/1.013, allocations: 0.7212 MB / 1.287 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.013, allocations: 0 / 1.287 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/1.013, allocations: 23.92 kB / 1.287 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.013, allocations: 0 / 1.287 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/1.013, allocations: 8 kB / 1.287 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/1.013, allocations: 3.938 kB / 1.287 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.013, allocations: 4 kB / 1.287 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/1.014, allocations: 420.8 kB / 1.287 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.562e-05/1.014, allocations: 112.8 kB / 1.287 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/1.014, allocations: 4 kB / 1.287 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/1.014, allocations: 15.92 kB / 1.287 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/1.014, allocations: 19.98 kB / 1.287 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/1.014, allocations: 15.98 kB / 1.287 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00019/1.014, allocations: 186 kB / 1.287 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.014, allocations: 0 / 1.287 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004214/1.015, allocations: 80 kB / 1.287 GB, free: 6.191 MB / 0.9825 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.0002289/1.015, allocations: 141.3 kB / 1.288 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009374/1.016, allocations: 0.5949 MB / 1.288 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.016, allocations: 0 / 1.288 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/1.016, allocations: 124.7 kB / 1.288 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/1.017, allocations: 77.38 kB / 1.288 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009391/1.018, allocations: 0.5227 MB / 1.289 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/1.018, allocations: 0.7687 MB / 1.29 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001545/1.018, allocations: 66.92 kB / 1.29 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/1.018, allocations: 35.42 kB / 1.29 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/1.018, allocations: 0 / 1.29 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.01077/1.029, allocations: 5.042 MB / 1.295 GB, free: 14.78 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.31283312710002]