Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,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_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006038/0.006038, allocations: 101.1 kB / 15.88 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 193.3 kB / 16.79 MB, free: 6.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 240.5 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.353/2.353, allocations: 390.2 MB / 0.6649 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 67.89 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.635/0.6366, allocations: 140.4 MB / 0.9496 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.00217/0.6388, allocations: 1.087 MB / 0.9506 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.6406, allocations: 1.517 MB / 0.9521 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.6408, allocations: 6.969 kB / 0.9521 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.641, allocations: 13.11 kB / 0.9522 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.6411, allocations: 34.62 kB / 0.9522 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009667/0.6421, allocations: 435.6 kB / 0.9526 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.6425, allocations: 454.9 kB / 0.953 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.6427, allocations: 128.8 kB / 0.9532 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.643, allocations: 182.4 kB / 0.9533 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.6432, allocations: 162.9 kB / 0.9535 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.6433, allocations: 25 kB / 0.9535 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.6435, allocations: 36.75 kB / 0.9535 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.804e-05/0.6435, allocations: 55.42 kB / 0.9536 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.6437, allocations: 176.3 kB / 0.9538 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.644, allocations: 384.7 kB / 0.9541 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.644, allocations: 0 / 0.9541 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.81e-07/0.644, allocations: 3.938 kB / 0.9541 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.6441, allocations: 5.406 kB / 0.9541 GB, free: 5.859 MB / 0.7169 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.0008617/0.6449, allocations: 0.6942 MB / 0.9548 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.645, allocations: 9.594 kB / 0.9548 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.6451, allocations: 36.12 kB / 0.9549 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000979/0.6461, allocations: 364.7 kB / 0.9552 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.6462, allocations: 23.19 kB / 0.9552 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-05/0.6462, allocations: 30.78 kB / 0.9553 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.6466, allocations: 241.1 kB / 0.9555 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.6466, allocations: 0 / 0.9555 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.6467, allocations: 14.59 kB / 0.9555 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.6467, allocations: 5.25 kB / 0.9555 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.6469, allocations: 144 kB / 0.9556 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.648, allocations: 0.7574 MB / 0.9564 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.6482, allocations: 192 kB / 0.9566 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.6485, allocations: 213.6 kB / 0.9568 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.6485, allocations: 2.188 kB / 0.9568 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000289/0.6488, allocations: 250.8 kB / 0.957 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 1.734e-06/0.6488, allocations: 0 / 0.957 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0006532/0.6495, allocations: 418.9 kB / 0.9574 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.6495, allocations: 115.6 kB / 0.9575 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.6498, allocations: 288.9 kB / 0.9578 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.425e-05/0.6498, allocations: 41.89 kB / 0.9578 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.6499, allocations: 159.9 kB / 0.958 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.65, allocations: 62.2 kB / 0.9581 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.6502, allocations: 139.2 kB / 0.9582 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.02e-05/0.6503, allocations: 342.7 kB / 0.9585 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.6506, allocations: 197.8 kB / 0.9587 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/0.651, allocations: 322.3 kB / 0.959 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005313/0.6515, allocations: 0.5204 MB / 0.9595 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6516, allocations: 5.281 kB / 0.9595 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001043/0.6526, allocations: 0.7221 MB / 0.9602 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.218e-05/0.6527, allocations: 124.7 kB / 0.9603 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.6527, allocations: 3.438 kB / 0.9603 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.6527, allocations: 4.812 kB / 0.9604 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.095e-05/0.6528, allocations: 25.73 kB / 0.9604 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.6528, allocations: 8.797 kB / 0.9604 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006446/0.6535, allocations: 136.1 kB / 0.9605 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.697e-05/0.6536, allocations: 72.02 kB / 0.9606 GB, free: 1.109 MB / 0.7169 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.0001843/0.6538, allocations: 178.8 kB / 0.9608 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.6538, allocations: 25.16 kB / 0.9608 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004871/0.6543, allocations: 364.6 kB / 0.9611 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.6544, allocations: 4.188 kB / 0.9611 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6544, allocations: 0 / 0.9611 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.6544, allocations: 3.938 kB / 0.9611 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007372/0.6551, allocations: 0.7223 MB / 0.9618 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.6551, allocations: 1.062 kB / 0.9618 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.976e-05/0.6552, allocations: 18.83 kB / 0.9619 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.6552, allocations: 6.188 kB / 0.9619 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.6552, allocations: 6.406 kB / 0.9619 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6552, allocations: 1.125 kB / 0.9619 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6553, allocations: 5.344 kB / 0.9619 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004678/0.6557, allocations: 403.2 kB / 0.9623 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-05/0.6558, allocations: 112.2 kB / 0.9624 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.6559, allocations: 7.344 kB / 0.9624 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.656, allocations: 11.47 kB / 0.9624 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.6561, allocations: 25.97 kB / 0.9624 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.6561, allocations: 11.7 kB / 0.9624 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001934/0.6563, allocations: 195 kB / 0.9626 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.603e-06/0.6563, allocations: 0 / 0.9626 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004608/0.6568, allocations: 93.75 kB / 0.9627 GB, free: 15.64 MB / 0.7325 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.0002146/0.657, allocations: 126.1 kB / 0.9628 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009611/0.658, allocations: 0.6604 MB / 0.9635 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.658, allocations: 1.344 kB / 0.9635 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.6582, allocations: 142.2 kB / 0.9636 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.6587, allocations: 56.27 kB / 0.9637 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009877/0.6597, allocations: 0.6061 MB / 0.9642 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.66, allocations: 0.7632 MB / 0.965 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/0.6601, allocations: 35.22 kB / 0.965 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of SimCode: time 4.1e-07/0.6601, allocations: 0 / 0.965 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of Templates: time 0.008466/0.6686, allocations: 4.393 MB / 0.9693 GB, free: 11.54 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches