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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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=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_11_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_11_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.01086/0.01086, allocations: 103 kB / 15.74 MB, free: 6.496 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.002364/0.002364, allocations: 198.5 kB / 16.68 MB, free: 6.375 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.845/2.845, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 67.89 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3566, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002215/0.3588, allocations: 1.028 MB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002056/0.3608, allocations: 1.474 MB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.361, allocations: 4 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.3611, allocations: 23.67 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.3612, allocations: 47.59 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.3624, allocations: 474.3 kB / 1.224 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006158/0.363, allocations: 0.5076 MB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.3632, allocations: 104.2 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.3635, allocations: 195.6 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.3638, allocations: 195.3 kB / 1.225 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.63e-05/0.3639, allocations: 55.94 kB / 1.225 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.364, allocations: 67.92 kB / 1.225 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.827e-05/0.3641, allocations: 63.81 kB / 1.225 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.3643, allocations: 183.3 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005224/0.3648, allocations: 0.5178 MB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3648, allocations: 0 / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3648, allocations: 0 / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.3648, allocations: 0 / 1.225 GB, free: 8.867 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.000895/0.3657, allocations: 0.712 MB / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.3658, allocations: 12.03 kB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.3659, allocations: 44.67 kB / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008906/0.3668, allocations: 360.2 kB / 1.227 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.3668, allocations: 24.75 kB / 1.227 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.106e-05/0.3669, allocations: 32.38 kB / 1.227 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.3673, allocations: 237.1 kB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3673, allocations: 3.938 kB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.3673, allocations: 8 kB / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3673, allocations: 4 kB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.3675, allocations: 143.3 kB / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.3687, allocations: 0.7577 MB / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.369, allocations: 182.4 kB / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.3692, allocations: 204.3 kB / 1.228 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.3692, allocations: 0 / 1.228 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003097/0.3695, allocations: 248.9 kB / 1.228 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 1.292e-06/0.3695, allocations: 0 / 1.228 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.0006621/0.3702, allocations: 427.1 kB / 1.229 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.3703, allocations: 110.8 kB / 1.229 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.3705, allocations: 282.6 kB / 1.229 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.3706, allocations: 37.7 kB / 1.229 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.3707, allocations: 156.9 kB / 1.229 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.23e-05/0.3708, allocations: 67.47 kB / 1.229 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.371, allocations: 145.6 kB / 1.229 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3711, allocations: 342.8 kB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.3715, allocations: 196.7 kB / 1.23 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/0.3719, allocations: 323.9 kB / 1.23 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006307/0.3725, allocations: 0.5154 MB / 1.231 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3725, allocations: 4 kB / 1.231 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001084/0.3736, allocations: 0.7293 MB / 1.231 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.131e-05/0.3737, allocations: 125 kB / 1.232 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3737, allocations: 7.938 kB / 1.232 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.282e-05/0.3737, allocations: 8.391 kB / 1.232 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.018e-05/0.3738, allocations: 31.86 kB / 1.232 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3738, allocations: 8 kB / 1.232 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006427/0.3745, allocations: 123.6 kB / 1.232 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.3746, allocations: 75.86 kB / 1.232 GB, free: 1.828 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.0002045/0.3748, allocations: 186.7 kB / 1.232 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.3748, allocations: 31.81 kB / 1.232 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005411/0.3754, allocations: 364.6 kB / 1.232 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3754, allocations: 4 kB / 1.232 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3754, allocations: 7.938 kB / 1.232 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3754, allocations: 3.938 kB / 1.232 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008426/0.3762, allocations: 0.7095 MB / 1.233 GB, free: 476 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3762, allocations: 4 kB / 1.233 GB, free: 472 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.831e-05/0.3763, allocations: 23.92 kB / 1.233 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3763, allocations: 0 / 1.233 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.3763, allocations: 4 kB / 1.233 GB, free: 444 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.3763, allocations: 3.938 kB / 1.233 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3763, allocations: 0 / 1.233 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/0.3768, allocations: 416.9 kB / 1.234 GB, free: 8 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.193e-05/0.3769, allocations: 108.8 kB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.3769, allocations: 8 kB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.377, allocations: 15.94 kB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.3771, allocations: 23.97 kB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.3771, allocations: 15.98 kB / 1.234 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001732/0.3773, allocations: 186 kB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3773, allocations: 0 / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004174/0.3777, allocations: 87.94 kB / 1.234 GB, free: 15.55 MB / 0.9981 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.0002067/0.3779, allocations: 125.4 kB / 1.234 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008342/0.3788, allocations: 0.5988 MB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3788, allocations: 0 / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.3789, allocations: 127.8 kB / 1.235 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.3794, allocations: 69.25 kB / 1.235 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000859/0.3803, allocations: 0.5221 MB / 1.235 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.3806, allocations: 0.7648 MB / 1.236 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001514/0.3807, allocations: 70.86 kB / 1.236 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/0.3808, allocations: 35.42 kB / 1.236 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.3808, allocations: 0 / 1.236 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of Templates: time 0.01004/0.3908, allocations: 5.007 MB / 1.241 GB, free: 8.184 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) 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) Reference file matches