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.001507/0.001507, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001565/0.001565, allocations: 191.5 kB / 22.23 MB, free: 5.105 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.574/1.574, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.058/3.058, allocations: 476.7 MB / 0.7646 GB, free: 9.906 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.002082/0.002082, allocations: 71.88 kB / 1.11 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 168.8 MB / 1.274 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.00256/1.012, allocations: 1.032 MB / 1.275 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002437/1.015, allocations: 1.468 MB / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.539e-05/1.015, allocations: 0 / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001586/1.015, allocations: 27.67 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/1.015, allocations: 55.52 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/1.016, allocations: 480.3 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000652/1.017, allocations: 0.4998 MB / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/1.017, allocations: 103.8 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/1.017, allocations: 203.6 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/1.018, allocations: 191.4 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.58e-05/1.018, allocations: 48 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/1.018, allocations: 71.92 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/1.018, allocations: 63.78 kB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003205/1.018, allocations: 195.4 kB / 1.279 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006604/1.019, allocations: 0.5087 MB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.019, allocations: 4 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.002e-06/1.019, allocations: 0 / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.095e-06/1.019, allocations: 0 / 1.279 GB, free: 15.32 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.001011/1.02, allocations: 0.6289 MB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.02, allocations: 11.97 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/1.02, allocations: 40.75 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/1.021, allocations: 298.4 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/1.021, allocations: 28.73 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.232e-05/1.021, allocations: 32.38 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/1.022, allocations: 236.9 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/1.022, allocations: 3.938 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/1.022, allocations: 8 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/1.022, allocations: 4 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/1.022, allocations: 147.3 kB / 1.281 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/1.024, allocations: 0.7333 MB / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/1.024, allocations: 168.7 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003608/1.025, allocations: 208.7 kB / 1.282 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/1.025, allocations: 3.938 kB / 1.282 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000424/1.025, allocations: 244.2 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 5.52e-06/1.025, allocations: 4 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.0009117/1.026, allocations: 423.1 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/1.026, allocations: 110.8 kB / 1.282 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003868/1.026, allocations: 281.7 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.916e-05/1.026, allocations: 41.7 kB / 1.283 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/1.027, allocations: 156.9 kB / 1.283 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.428e-05/1.027, allocations: 67.47 kB / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/1.027, allocations: 133.6 kB / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002127/1.027, allocations: 350.7 kB / 1.283 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/1.028, allocations: 196.7 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005077/1.028, allocations: 316 kB / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007924/1.029, allocations: 0.5271 MB / 1.284 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/1.029, allocations: 7.938 kB / 1.284 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001359/1.03, allocations: 0.7249 MB / 1.285 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/1.03, allocations: 124.7 kB / 1.285 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.03, allocations: 4 kB / 1.285 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/1.03, allocations: 8 kB / 1.285 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/1.031, allocations: 27.8 kB / 1.285 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/1.031, allocations: 4.406 kB / 1.285 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007513/1.031, allocations: 131.6 kB / 1.285 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/1.031, allocations: 63.92 kB / 1.285 GB, free: 8.496 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.0003552/1.032, allocations: 203.8 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.7e-05/1.032, allocations: 27.81 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007331/1.033, allocations: 357.5 kB / 1.286 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/1.033, allocations: 4 kB / 1.286 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/1.033, allocations: 0 / 1.286 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/1.033, allocations: 3.984 kB / 1.286 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/1.034, allocations: 0.6934 MB / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1.034, allocations: 0 / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.635e-05/1.034, allocations: 15.98 kB / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/1.034, allocations: 4 kB / 1.287 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/1.034, allocations: 11.98 kB / 1.287 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/1.034, allocations: 11.94 kB / 1.287 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.034, allocations: 0 / 1.287 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/1.034, allocations: 412.2 kB / 1.287 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/1.035, allocations: 31.75 kB / 1.287 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/1.035, allocations: 8 kB / 1.287 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/1.035, allocations: 15.92 kB / 1.287 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.567e-05/1.035, allocations: 23.95 kB / 1.287 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/1.035, allocations: 12 kB / 1.287 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001979/1.035, allocations: 191.1 kB / 1.287 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.035, allocations: 0 / 1.287 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004493/1.035, allocations: 83.94 kB / 1.287 GB, free: 6.34 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.0002101/1.036, allocations: 129.2 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009583/1.037, allocations: 0.6032 MB / 1.288 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.037, allocations: 0 / 1.288 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/1.037, allocations: 123.8 kB / 1.288 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/1.037, allocations: 67.77 kB / 1.288 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009805/1.038, allocations: 0.5163 MB / 1.289 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/1.039, allocations: 0.7648 MB / 1.29 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001509/1.039, allocations: 62.92 kB / 1.29 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.841e-05/1.039, allocations: 35.42 kB / 1.29 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/1.039, allocations: 3.938 kB / 1.29 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of Templates: time 0.01109/1.05, allocations: 5.139 MB / 1.295 GB, free: 14.84 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.808638477697968]