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.001692/0.001692, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002211/0.002211, allocations: 196.6 kB / 16.53 MB, free: 6.391 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.472/1.472, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.509/2.509, allocations: 390.3 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 59.91 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6768/0.6784, allocations: 140.4 MB / 0.9497 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002201/0.6807, allocations: 1.029 MB / 0.9507 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.6828, allocations: 1.447 MB / 0.9522 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.683, allocations: 2.812 kB / 0.9522 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.6832, allocations: 29.08 kB / 0.9522 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.6833, allocations: 43.98 kB / 0.9522 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.6847, allocations: 460.9 kB / 0.9527 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007816/0.6855, allocations: 0.5361 MB / 0.9532 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.6858, allocations: 134.8 kB / 0.9533 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.6861, allocations: 202.3 kB / 0.9535 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.6863, allocations: 166.5 kB / 0.9537 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.416e-05/0.6864, allocations: 49.25 kB / 0.9537 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.6865, allocations: 67.23 kB / 0.9538 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.6866, allocations: 65.23 kB / 0.9538 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.6868, allocations: 193.4 kB / 0.954 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004683/0.6873, allocations: 0.5072 MB / 0.9545 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.6873, allocations: 1.25 kB / 0.9545 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6873, allocations: 0 / 0.9545 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.6873, allocations: 0 / 0.9545 GB, free: 5.648 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.0007787/0.6881, allocations: 0.6904 MB / 0.9552 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.6881, allocations: 8.562 kB / 0.9552 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.972e-05/0.6882, allocations: 55.5 kB / 0.9553 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.6884, allocations: 47.47 kB / 0.9553 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.6894, allocations: 361 kB / 0.9557 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.6894, allocations: 18.31 kB / 0.9557 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.907e-05/0.6895, allocations: 42.28 kB / 0.9557 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004207/0.6899, allocations: 241.4 kB / 0.9559 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.69, allocations: 4 kB / 0.9559 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.69, allocations: 6.875 kB / 0.956 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.69, allocations: 4.469 kB / 0.956 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.6902, allocations: 144.5 kB / 0.9561 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.6913, allocations: 0.7646 MB / 0.9568 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.6915, allocations: 187.6 kB / 0.957 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.6918, allocations: 208.2 kB / 0.9572 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.6918, allocations: 6.25 kB / 0.9572 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002722/0.6921, allocations: 246.6 kB / 0.9575 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 1.643e-06/0.6921, allocations: 1.562 kB / 0.9575 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0006261/0.6927, allocations: 413.7 kB / 0.9579 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.6928, allocations: 123.2 kB / 0.958 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.693, allocations: 293.3 kB / 0.9583 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.25e-05/0.6931, allocations: 38.02 kB / 0.9583 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.6932, allocations: 159.4 kB / 0.9584 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.6932, allocations: 59.12 kB / 0.9585 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.6935, allocations: 139 kB / 0.9586 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.922e-05/0.6935, allocations: 338.6 kB / 0.959 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/0.6939, allocations: 202.7 kB / 0.9591 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.6943, allocations: 318 kB / 0.9595 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005246/0.6948, allocations: 0.5205 MB / 0.96 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.6948, allocations: 1.094 kB / 0.96 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009842/0.6958, allocations: 0.7182 MB / 0.9607 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.774e-05/0.6959, allocations: 124.6 kB / 0.9608 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.6959, allocations: 2.969 kB / 0.9608 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.6959, allocations: 9.391 kB / 0.9608 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.696, allocations: 24.42 kB / 0.9608 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.696, allocations: 12.5 kB / 0.9608 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006545/0.6967, allocations: 137.7 kB / 0.961 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.637e-05/0.6968, allocations: 64.11 kB / 0.961 GB, free: 0.8477 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.0001815/0.697, allocations: 182.4 kB / 0.9612 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.697, allocations: 29.41 kB / 0.9612 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004574/0.6975, allocations: 368.1 kB / 0.9616 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6975, allocations: 4.375 kB / 0.9616 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6975, allocations: 3.938 kB / 0.9616 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.6975, allocations: 3.938 kB / 0.9616 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000721/0.6983, allocations: 0.7191 MB / 0.9623 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6983, allocations: 0 / 0.9623 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-05/0.6984, allocations: 24.11 kB / 0.9623 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.6984, allocations: 5 kB / 0.9623 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.6984, allocations: 7.344 kB / 0.9623 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6984, allocations: 1.031 kB / 0.9623 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6984, allocations: 0 / 0.9623 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004458/0.6989, allocations: 416.2 kB / 0.9627 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.6989, allocations: 108.9 kB / 0.9628 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.699, allocations: 6.094 kB / 0.9628 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.6991, allocations: 8.219 kB / 0.9628 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.6992, allocations: 26.05 kB / 0.9629 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.6992, allocations: 19.67 kB / 0.9629 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001763/0.6994, allocations: 187.4 kB / 0.9631 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6994, allocations: 0 / 0.9631 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004307/0.6998, allocations: 89.44 kB / 0.9631 GB, free: 15.37 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.000793/0.7006, allocations: 0.9859 MB / 0.9641 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009537/0.7016, allocations: 0.6895 MB / 0.9648 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.7016, allocations: 1.344 kB / 0.9648 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.7018, allocations: 137.8 kB / 0.9649 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.7023, allocations: 69.02 kB / 0.965 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.7069, allocations: 3.592 MB / 0.9685 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.7074, allocations: 0.7632 MB / 0.9692 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001968/0.7076, allocations: 62.23 kB / 0.9693 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.7077, allocations: 106.8 kB / 0.9694 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of SimCode: time 1.152e-06/0.7078, allocations: 0 / 0.9694 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.7343, allocations: 7.745 MB / 0.977 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.848/8.582, allocations: 6 kB / 0.977 GB, free: 5.242 MB / 0.7325 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