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.001407/0.001407, allocations: 103.6 kB / 16.35 MB, free: 5.824 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.001682/0.001682, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.285/2.285, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002545/0.002545, allocations: 62.3 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3392, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002664/0.3419, allocations: 1.035 MB / 0.9521 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002207/0.3441, allocations: 1.46 MB / 0.9536 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.3443, allocations: 3.938 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.3446, allocations: 27.67 kB / 0.9536 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.3448, allocations: 39.53 kB / 0.9536 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.3462, allocations: 474.4 kB / 0.9541 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000791/0.347, allocations: 0.531 MB / 0.9546 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003291/0.3473, allocations: 127.7 kB / 0.9547 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003502/0.3477, allocations: 211.5 kB / 0.9549 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003511/0.348, allocations: 187.4 kB / 0.9551 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.539e-05/0.3481, allocations: 48 kB / 0.9552 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.3483, allocations: 63.98 kB / 0.9552 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.343e-05/0.3484, allocations: 75.7 kB / 0.9553 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002349/0.3486, allocations: 191.2 kB / 0.9555 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000546/0.3492, allocations: 0.5101 MB / 0.956 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.3492, allocations: 3.984 kB / 0.956 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.545e-06/0.3492, allocations: 0 / 0.956 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.3492, allocations: 0 / 0.956 GB, free: 3.047 MB / 0.7325 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.0008695/0.3501, allocations: 0.7006 MB / 0.9567 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3501, allocations: 8.031 kB / 0.9567 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.3502, allocations: 36.66 kB / 0.9567 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008904/0.3511, allocations: 364 kB / 0.957 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.449e-05/0.3512, allocations: 24.75 kB / 0.9571 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.518e-05/0.3513, allocations: 32.38 kB / 0.9571 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.3516, allocations: 240.2 kB / 0.9573 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3516, allocations: 0 / 0.9573 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.3517, allocations: 11.98 kB / 0.9573 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.3517, allocations: 4 kB / 0.9573 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.3519, allocations: 139.3 kB / 0.9575 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.3532, allocations: 0.7614 MB / 0.9582 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.3535, allocations: 186.4 kB / 0.9584 GB, free: 392 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.3538, allocations: 216.7 kB / 0.9586 GB, free: 172 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.3538, allocations: 3.938 kB / 0.9586 GB, free: 168 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003232/0.3541, allocations: 239.8 kB / 0.9588 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.3541, allocations: 0 / 0.9588 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28): time 0.0006836/0.3548, allocations: 423 kB / 0.9592 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.569e-05/0.3549, allocations: 114.7 kB / 0.9593 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.3553, allocations: 290.3 kB / 0.9596 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.015e-05/0.3553, allocations: 41.7 kB / 0.9597 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.3555, allocations: 160.7 kB / 0.9598 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.3555, allocations: 59.2 kB / 0.9599 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.3558, allocations: 141.5 kB / 0.96 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.356, allocations: 342.8 kB / 0.9603 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/0.3563, allocations: 196.7 kB / 0.9605 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004606/0.3568, allocations: 323.9 kB / 0.9608 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/0.3575, allocations: 0.5271 MB / 0.9613 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.3575, allocations: 8 kB / 0.9614 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001133/0.3586, allocations: 0.7092 MB / 0.962 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001377/0.3588, allocations: 122.8 kB / 0.9622 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.3588, allocations: 4 kB / 0.9622 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/0.3588, allocations: 8.406 kB / 0.9622 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.359, allocations: 31.86 kB / 0.9622 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.359, allocations: 4 kB / 0.9622 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006541/0.3596, allocations: 127.4 kB / 0.9623 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.3598, allocations: 75.91 kB / 0.9624 GB, free: 12.01 MB / 0.7481 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.0002365/0.36, allocations: 193.1 kB / 0.9626 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.3601, allocations: 31.62 kB / 0.9626 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005737/0.3606, allocations: 357.2 kB / 0.963 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.3607, allocations: 4 kB / 0.963 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3607, allocations: 0 / 0.963 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3607, allocations: 7.922 kB / 0.963 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009069/0.3616, allocations: 0.7055 MB / 0.9637 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.3616, allocations: 7.922 kB / 0.9637 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.619e-05/0.3617, allocations: 20 kB / 0.9637 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.3617, allocations: 3.938 kB / 0.9637 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.3617, allocations: 7.984 kB / 0.9637 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.3617, allocations: 7.984 kB / 0.9637 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3617, allocations: 3.938 kB / 0.9637 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004526/0.3622, allocations: 416.7 kB / 0.9641 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/0.3623, allocations: 100.8 kB / 0.9642 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.3623, allocations: 15.83 kB / 0.9642 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.3625, allocations: 12 kB / 0.9642 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.3625, allocations: 23.97 kB / 0.9643 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.3625, allocations: 12 kB / 0.9643 GB, free: 10 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001694/0.3627, allocations: 189.9 kB / 0.9644 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3627, allocations: 0 / 0.9644 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004016/0.3631, allocations: 88 kB / 0.9645 GB, free: 9.734 MB / 0.7481 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.0002003/0.3633, allocations: 133.4 kB / 0.9647 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008975/0.3642, allocations: 0.6577 MB / 0.9653 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3643, allocations: 0 / 0.9653 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.3645, allocations: 143.8 kB / 0.9654 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.3649, allocations: 63.22 kB / 0.9655 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009314/0.3659, allocations: 0.5089 MB / 0.966 GB, free: 8.156 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.3663, allocations: 0.7609 MB / 0.9667 GB, free: 7.367 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001421/0.3664, allocations: 62.92 kB / 0.9668 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.3665, allocations: 39.44 kB / 0.9668 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of SimCode: time 9.92e-07/0.3665, allocations: 0 / 0.9668 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of Templates: time 0.009455/0.376, allocations: 4.993 MB / 0.9717 GB, free: 2.328 MB / 0.7481 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 -s cvode -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