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.001547/0.001547, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.001503/0.001503, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.602/1.602, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.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.914/2.914, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] 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.002192/0.002192, allocations: 71.88 kB / 1.107 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286/1.288, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002416/1.29, allocations: 1.038 MB / 1.273 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001975/1.292, allocations: 1.466 MB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/1.292, allocations: 2.219 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000144/1.293, allocations: 24.45 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.349e-05/1.293, allocations: 56.08 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/1.294, allocations: 479.6 kB / 1.275 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005544/1.294, allocations: 0.494 MB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/1.295, allocations: 103.1 kB / 1.276 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/1.295, allocations: 201.5 kB / 1.276 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/1.295, allocations: 191.6 kB / 1.276 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.408e-05/1.295, allocations: 57 kB / 1.276 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/1.295, allocations: 65.73 kB / 1.276 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.662e-05/1.295, allocations: 62 kB / 1.276 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001991/1.296, allocations: 196.4 kB / 1.276 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005867/1.296, allocations: 0.5062 MB / 1.277 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.296, allocations: 0.9375 kB / 1.277 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.064e-06/1.296, allocations: 0 / 1.277 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.754e-06/1.296, allocations: 0 / 1.277 GB, free: 5.102 MB / 0.9981 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.0008984/1.297, allocations: 0.7039 MB / 1.277 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/1.297, allocations: 9.375 kB / 1.277 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/1.297, allocations: 44.25 kB / 1.278 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008779/1.298, allocations: 357.4 kB / 1.278 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/1.298, allocations: 24.73 kB / 1.278 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.042e-05/1.298, allocations: 34.69 kB / 1.278 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/1.299, allocations: 230.5 kB / 1.278 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/1.299, allocations: 8.734 kB / 1.278 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/1.299, allocations: 11.23 kB / 1.278 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/1.299, allocations: 4.938 kB / 1.278 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/1.299, allocations: 145.2 kB / 1.278 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/1.3, allocations: 0.7633 MB / 1.279 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/1.301, allocations: 180.7 kB / 1.279 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/1.301, allocations: 211.3 kB / 1.279 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/1.301, allocations: 1.75 kB / 1.279 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003951/1.301, allocations: 240.5 kB / 1.28 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 1.954e-06/1.301, allocations: 4.625 kB / 1.28 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.0008355/1.302, allocations: 424.2 kB / 1.28 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/1.302, allocations: 111.1 kB / 1.28 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/1.302, allocations: 284.9 kB / 1.28 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/1.303, allocations: 43.33 kB / 1.28 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/1.303, allocations: 154.3 kB / 1.281 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/1.303, allocations: 67.08 kB / 1.281 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/1.303, allocations: 138.4 kB / 1.281 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.051e-05/1.303, allocations: 346.9 kB / 1.281 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/1.303, allocations: 198.8 kB / 1.281 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003998/1.304, allocations: 319.9 kB / 1.282 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005479/1.304, allocations: 0.5287 MB / 1.282 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.304, allocations: 0 / 1.282 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001042/1.305, allocations: 0.7212 MB / 1.283 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.158e-05/1.305, allocations: 125.5 kB / 1.283 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/1.305, allocations: 7.219 kB / 1.283 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/1.305, allocations: 5.281 kB / 1.283 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/1.306, allocations: 29.33 kB / 1.283 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/1.306, allocations: 12.5 kB / 1.283 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006609/1.306, allocations: 127.7 kB / 1.283 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/1.306, allocations: 61.73 kB / 1.283 GB, free: 1.113 MB / 0.9981 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.0001933/1.307, allocations: 197.9 kB / 1.283 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/1.307, allocations: 30.94 kB / 1.283 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005448/1.307, allocations: 357.6 kB / 1.284 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/1.307, allocations: 2.031 kB / 1.284 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.307, allocations: 0.6562 kB / 1.284 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/1.307, allocations: 1.359 kB / 1.284 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008313/1.308, allocations: 0.7222 MB / 1.284 GB, free: 364 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/1.308, allocations: 0 / 1.284 GB, free: 364 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.035e-05/1.308, allocations: 18.75 kB / 1.284 GB, free: 360 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.308, allocations: 5.312 kB / 1.284 GB, free: 356 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/1.308, allocations: 9.047 kB / 1.285 GB, free: 352 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/1.308, allocations: 7.875 kB / 1.285 GB, free: 344 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.308, allocations: 5.922 kB / 1.285 GB, free: 340 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/1.309, allocations: 412.9 kB / 1.285 GB, free: 116 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/1.309, allocations: 107.6 kB / 1.285 GB, free: 0 / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/1.309, allocations: 6.953 kB / 1.285 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/1.309, allocations: 17.27 kB / 1.285 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/1.309, allocations: 26.8 kB / 1.285 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/1.309, allocations: 12.62 kB / 1.285 GB, free: 15.97 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002088/1.309, allocations: 188.3 kB / 1.285 GB, free: 15.86 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.309, allocations: 0 / 1.285 GB, free: 15.86 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004272/1.309, allocations: 95.95 kB / 1.285 GB, free: 15.84 MB / 1.014 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.0002196/1.31, allocations: 123.8 kB / 1.285 GB, free: 15.74 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009614/1.311, allocations: 0.6005 MB / 1.286 GB, free: 15.38 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.311, allocations: 0 / 1.286 GB, free: 15.38 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/1.311, allocations: 122.7 kB / 1.286 GB, free: 15.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/1.311, allocations: 63.27 kB / 1.286 GB, free: 15.32 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009974/1.312, allocations: 0.5252 MB / 1.287 GB, free: 15.03 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/1.313, allocations: 0.7706 MB / 1.287 GB, free: 14.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000183/1.313, allocations: 67.16 kB / 1.288 GB, free: 14.31 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.327e-05/1.313, allocations: 33.64 kB / 1.288 GB, free: 14.3 MB / 1.014 GB Notification: Performance of SimCode: time 8.21e-07/1.313, allocations: 7.938 kB / 1.288 GB, free: 14.29 MB / 1.014 GB Notification: Performance of Templates: time 0.01388/1.327, allocations: 5.051 MB / 1.293 GB, free: 13.9 MB / 1.014 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: 10.012535293586552]