Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007859/0.007859, allocations: 102.8 kB / 15.74 MB, free: 6.5 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.001851/0.001851, allocations: 198.1 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.44/1.44, 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 10.1.1-maint.10.0.x/package.mo): time 2.757/2.757, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.89 kB / 1.019 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3973, allocations: 151.6 MB / 1.167 GB, free: 6.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002462/0.3998, allocations: 1.027 MB / 1.168 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002029/0.4019, allocations: 1.46 MB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.402, allocations: 4 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.4022, allocations: 23.67 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.4023, allocations: 47.59 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.4035, allocations: 480.3 kB / 1.17 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005828/0.4041, allocations: 0.5349 MB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003215/0.4044, allocations: 120.2 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.4046, allocations: 207.5 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.4049, allocations: 191.3 kB / 1.171 GB, free: 2.797 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.739e-05/0.405, allocations: 48 kB / 1.171 GB, free: 2.75 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.4052, allocations: 67.98 kB / 1.171 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.922e-05/0.4053, allocations: 79.69 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.4055, allocations: 183.3 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006163/0.4061, allocations: 0.5215 MB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4061, allocations: 4 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.877e-06/0.4062, allocations: 0 / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.4062, allocations: 0 / 1.171 GB, free: 1.898 MB / 0.92 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.001145/0.4073, allocations: 0.7003 MB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.4074, allocations: 8.031 kB / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.4075, allocations: 48.72 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000978/0.4085, allocations: 372.1 kB / 1.173 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/0.4086, allocations: 24.75 kB / 1.173 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/0.4086, allocations: 36.31 kB / 1.173 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.409, allocations: 232.8 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.4091, allocations: 7.938 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.4091, allocations: 12 kB / 1.173 GB, free: 356 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/0.4091, allocations: 4 kB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.4093, allocations: 143.3 kB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.4107, allocations: 0.7616 MB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.411, allocations: 182.5 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.4113, allocations: 216.8 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.4113, allocations: 4 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003369/0.4117, allocations: 240.2 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 1.423e-06/0.4117, allocations: 0 / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.0007057/0.4124, allocations: 426.4 kB / 1.175 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.999e-05/0.4125, allocations: 118.8 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.4128, allocations: 278.5 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.905e-05/0.4128, allocations: 41.7 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.413, allocations: 164.7 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.85e-05/0.4131, allocations: 67.53 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.4133, allocations: 137.6 kB / 1.176 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4135, allocations: 342.8 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003992/0.4139, allocations: 204.7 kB / 1.176 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004341/0.4143, allocations: 312 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006125/0.415, allocations: 0.5311 MB / 1.177 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.415, allocations: 0 / 1.177 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001033/0.416, allocations: 0.721 MB / 1.178 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.4161, allocations: 126.8 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4161, allocations: 4 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.4162, allocations: 4 kB / 1.178 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.925e-05/0.4163, allocations: 23.92 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.4163, allocations: 11.92 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/0.4169, allocations: 132 kB / 1.178 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.417, allocations: 67.92 kB / 1.178 GB, free: 10.83 MB / 0.9356 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.0002352/0.4172, allocations: 189.6 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.4173, allocations: 27.81 kB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005606/0.4179, allocations: 352.3 kB / 1.178 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.4179, allocations: 11.98 kB / 1.178 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4179, allocations: 0 / 1.178 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.4179, allocations: 3.938 kB / 1.178 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008406/0.4188, allocations: 0.7216 MB / 1.179 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4188, allocations: 0 / 1.179 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.324e-05/0.4188, allocations: 15.98 kB / 1.179 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.4189, allocations: 4 kB / 1.179 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.4189, allocations: 8 kB / 1.179 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.4189, allocations: 11.94 kB / 1.179 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4189, allocations: 0 / 1.179 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/0.4193, allocations: 416.3 kB / 1.18 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.4194, allocations: 104.9 kB / 1.18 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.4195, allocations: 11.94 kB / 1.18 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.4196, allocations: 15.88 kB / 1.18 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.4196, allocations: 19.97 kB / 1.18 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.4197, allocations: 15.98 kB / 1.18 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001727/0.4199, allocations: 190 kB / 1.18 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4199, allocations: 0 / 1.18 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003723/0.4202, allocations: 88 kB / 1.18 GB, free: 8.547 MB / 0.9356 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.0001993/0.4204, allocations: 123.1 kB / 1.18 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00084/0.4213, allocations: 0.662 MB / 1.181 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.4213, allocations: 0 / 1.181 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.4215, allocations: 132.4 kB / 1.181 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.4219, allocations: 67.19 kB / 1.181 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008508/0.4228, allocations: 0.5167 MB / 1.182 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.4232, allocations: 0.7687 MB / 1.182 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001331/0.4233, allocations: 62.92 kB / 1.182 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.4234, allocations: 35.42 kB / 1.182 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.4234, allocations: 0 / 1.182 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of Templates: time 0.009015/0.4324, allocations: 5.005 MB / 1.187 GB, free: 1.129 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches