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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0071/0.0071, allocations: 106 kB / 15.74 MB, free: 5.578 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.001351/0.001351, allocations: 189.9 kB / 16.67 MB, free: 5.516 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.91 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8501/0.8516, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.003066/0.8547, allocations: 1.037 MB / 1.088 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002696/0.8574, allocations: 1.451 MB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.8577, allocations: 2.062 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.8579, allocations: 29.23 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.8581, allocations: 40.95 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.8599, allocations: 476.1 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00102/0.8609, allocations: 0.5417 MB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003659/0.8613, allocations: 128.9 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004483/0.8618, allocations: 203.5 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005452/0.8623, allocations: 187.4 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002363/0.8626, allocations: 57.78 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.8629, allocations: 63.59 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.863, allocations: 64.73 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004206/0.8635, allocations: 190.4 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009872/0.8645, allocations: 0.5137 MB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.8645, allocations: 0 / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8645, allocations: 1.219 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.766e-05/0.8645, allocations: 0.6094 kB / 1.092 GB, free: 2.43 MB / 0.8575 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.001476/0.866, allocations: 0.6867 MB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.8661, allocations: 9.688 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.729e-05/0.8662, allocations: 63.42 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.8664, allocations: 40.52 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.8678, allocations: 353.6 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.323e-05/0.8679, allocations: 28.61 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.868, allocations: 39.86 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006397/0.8687, allocations: 233 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.8687, allocations: 0.8438 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.8688, allocations: 12.14 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.8688, allocations: 4.562 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003997/0.8692, allocations: 140.5 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001997/0.8712, allocations: 0.7603 MB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000464/0.8717, allocations: 191.7 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004563/0.8721, allocations: 219.7 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.8722, allocations: 2.531 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004828/0.8727, allocations: 236.4 kB / 1.095 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 2.605e-06/0.8727, allocations: 0 / 1.095 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28): time 0.001114/0.8738, allocations: 426.6 kB / 1.096 GB, free: 488 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.8739, allocations: 111.9 kB / 1.096 GB, free: 356 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00044/0.8743, allocations: 288.2 kB / 1.096 GB, free: 176 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.032e-05/0.8744, allocations: 38.73 kB / 1.096 GB, free: 140 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.8746, allocations: 165.9 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.666e-05/0.8747, allocations: 58.69 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003904/0.8751, allocations: 148 kB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.8753, allocations: 338.9 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006128/0.876, allocations: 197.9 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007702/0.8767, allocations: 331.8 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.8778, allocations: 0.5199 MB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.8779, allocations: 5.75 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002078/0.88, allocations: 0.7049 MB / 1.098 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.8801, allocations: 126.3 kB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.8802, allocations: 7.625 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.623e-05/0.8802, allocations: 6.156 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.8804, allocations: 28.72 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.333e-05/0.8804, allocations: 9.938 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.8815, allocations: 127.2 kB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/0.8817, allocations: 72.36 kB / 1.099 GB, free: 14.41 MB / 0.8731 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.0003503/0.882, allocations: 181.9 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.213e-05/0.8821, allocations: 33.64 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008788/0.883, allocations: 361.2 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.8831, allocations: 3.219 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.8831, allocations: 3.938 kB / 1.099 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.8831, allocations: 3.016 kB / 1.099 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.8846, allocations: 0.7121 MB / 1.1 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.8846, allocations: 2.641 kB / 1.1 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.8848, allocations: 21.92 kB / 1.1 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.8848, allocations: 5.094 kB / 1.1 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.8848, allocations: 7.359 kB / 1.1 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.8848, allocations: 2.969 kB / 1.1 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.8848, allocations: 4 kB / 1.1 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008317/0.8857, allocations: 417.5 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.8858, allocations: 110.6 kB / 1.101 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.053e-05/0.8859, allocations: 7.297 kB / 1.101 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.8861, allocations: 17.25 kB / 1.101 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.86e-05/0.8862, allocations: 25.94 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.002e-05/0.8863, allocations: 13.72 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003459/0.8867, allocations: 187.8 kB / 1.101 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.61e-07/0.8867, allocations: 0 / 1.101 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008385/0.8875, allocations: 82.83 kB / 1.101 GB, free: 13.15 MB / 0.8731 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.001328/0.8889, allocations: 0.9878 MB / 1.102 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.8903, allocations: 0.6524 MB / 1.103 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.8903, allocations: 2.156 kB / 1.103 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.8906, allocations: 141.4 kB / 1.103 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007493/0.8914, allocations: 63.56 kB / 1.103 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007729/0.8991, allocations: 3.599 MB / 1.106 GB, free: 9.656 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005427/0.8997, allocations: 0.7666 MB / 1.107 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002893/0.9, allocations: 67.48 kB / 1.107 GB, free: 8.938 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.9002, allocations: 99.17 kB / 1.107 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of SimCode: time 9.02e-07/0.9002, allocations: 1.656 kB / 1.107 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03345/0.9337, allocations: 7.803 MB / 1.115 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/9.006, allocations: 15.3 kB / 1.115 GB, free: 8.055 MB / 0.8731 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.csv","/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