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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_10_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.001112/0.001112, 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.001259/0.001259, allocations: 194.1 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.546/2.546, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001409, allocations: 71.88 kB / 0.8694 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6007/0.6021, allocations: 151.6 MB / 1.017 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002211/0.6043, allocations: 1.027 MB / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.6062, allocations: 1.467 MB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.6063, allocations: 4 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.6065, allocations: 23.67 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.6066, allocations: 39.64 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.6078, allocations: 463 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005824/0.6084, allocations: 0.531 MB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.6087, allocations: 127.7 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.6089, allocations: 207.5 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.6092, allocations: 167.4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.6093, allocations: 48 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.6095, allocations: 67.92 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.804e-05/0.6096, allocations: 63.78 kB / 1.022 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.6098, allocations: 199.2 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.6103, allocations: 0.5046 MB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.6103, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6103, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.6103, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 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.0009009/0.6112, allocations: 0.685 MB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.6113, allocations: 16.03 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.727e-05/0.6113, allocations: 54.73 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.6114, allocations: 40.64 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009251/0.6124, allocations: 368 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.6124, allocations: 20.75 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.656e-05/0.6125, allocations: 40.36 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.6129, allocations: 240.5 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.6129, allocations: 0 / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.6129, allocations: 15.98 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.6129, allocations: 4 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.6131, allocations: 139.3 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.6142, allocations: 0.7653 MB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.6145, allocations: 184.6 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.6148, allocations: 216.6 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.6148, allocations: 8 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002802/0.6151, allocations: 232.7 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.6151, allocations: 4 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0006311/0.6157, allocations: 424 kB / 1.026 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.6158, allocations: 114.8 kB / 1.026 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.616, allocations: 286.3 kB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/0.6161, allocations: 45.64 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.6162, allocations: 152.7 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.6163, allocations: 63.25 kB / 1.026 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.6165, allocations: 145.5 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6166, allocations: 346.7 kB / 1.027 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.617, allocations: 200.7 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/0.6174, allocations: 320 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006213/0.618, allocations: 0.5193 MB / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.618, allocations: 0 / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001051/0.6191, allocations: 0.7167 MB / 1.028 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.594e-05/0.6192, allocations: 126.8 kB / 1.028 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.6192, allocations: 4 kB / 1.028 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.6192, allocations: 4 kB / 1.028 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.998e-05/0.6193, allocations: 23.92 kB / 1.029 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.6193, allocations: 12.28 kB / 1.029 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006358/0.62, allocations: 135.4 kB / 1.029 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.6201, allocations: 67.86 kB / 1.029 GB, free: 6.426 MB / 0.7794 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.0002092/0.6203, allocations: 185.8 kB / 1.029 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.6204, allocations: 27.62 kB / 1.029 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004927/0.6209, allocations: 360.2 kB / 1.029 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.6209, allocations: 4 kB / 1.029 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.6209, allocations: 0 / 1.029 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.6209, allocations: 7.969 kB / 1.029 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007665/0.6217, allocations: 0.7211 MB / 1.03 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6217, allocations: 0 / 1.03 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.878e-05/0.6218, allocations: 15.94 kB / 1.03 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.6218, allocations: 3.938 kB / 1.03 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.6218, allocations: 15.92 kB / 1.03 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6218, allocations: 0 / 1.03 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6218, allocations: 0 / 1.03 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.6222, allocations: 423.2 kB / 1.03 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.6223, allocations: 100.8 kB / 1.031 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.6223, allocations: 19.83 kB / 1.031 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.6224, allocations: 8 kB / 1.031 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.6225, allocations: 23.97 kB / 1.031 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.6225, allocations: 8 kB / 1.031 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001643/0.6227, allocations: 193.9 kB / 1.031 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6227, allocations: 0 / 1.031 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003903/0.6231, allocations: 84 kB / 1.031 GB, free: 4.152 MB / 0.7794 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.0007592/0.6239, allocations: 0.9722 MB / 1.032 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008453/0.6247, allocations: 0.6966 MB / 1.032 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6247, allocations: 4 kB / 1.032 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.6249, allocations: 135.9 kB / 1.033 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.6254, allocations: 69.27 kB / 1.033 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.6294, allocations: 3.599 MB / 1.036 GB, free: 14.41 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.6297, allocations: 0.7647 MB / 1.037 GB, free: 13.62 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.6299, allocations: 70.91 kB / 1.037 GB, free: 13.55 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.63, allocations: 95.41 kB / 1.037 GB, free: 13.46 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.63, allocations: 0 / 1.037 GB, free: 13.46 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.6564, allocations: 7.749 MB / 1.045 GB, free: 5.863 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.141/7.797, allocations: 11.83 kB / 1.045 GB, free: 5.855 MB / 0.795 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/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